-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
42 lines (41 loc) · 989 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '3.2'
services:
master:
build:
context: ./master
volumes:
- ./master/playbooks:/playbooks:ro
container_name: master
server1:
image: ansible-test-node
build:
context: ./nodes
hostname: server1
container_name: server1
volumes:
- /var/run/docker.sock:/var/run/docker.sock
server2:
image: ansible-test-node
hostname: server2
container_name: server2
volumes:
- /var/run/docker.sock:/var/run/docker.sock
server3:
image: ansible-test-node
hostname: server3
container_name: server3
volumes:
- /var/run/docker.sock:/var/run/docker.sock
server4:
image: ansible-test-node
hostname: server4
container_name: server4
volumes:
- /var/run/docker.sock:/var/run/docker.sock
container_name: server4
server5:
image: ansible-test-node
hostname: server5
container_name: server5
volumes:
- /var/run/docker.sock:/var/run/docker.sock