forked from franklin-tutorials/ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
70 lines (63 loc) · 1.21 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
70 lines (63 loc) · 1.21 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
services:
ansible:
hostname: ansible
image: ftutorials/ubuntu-ssh:1.0
container_name: ansible
ports:
- "2222:22"
- "80:80"
volumes:
- ./projet:/root/projet
networks:
- ansible_net
client1:
hostname: client1
image: ftutorials/ubuntu-ssh:1.0
container_name: client1
ports:
- "2223:22"
- "3003:3000"
- "8083:80"
networks:
- ansible_net
client2:
hostname: client2
image: ftutorials/ubuntu-ssh:1.0
container_name: client2
ports:
- "2224:22"
- "3004:3000"
- "8084:80"
networks:
- ansible_net
client3:
hostname: client3
image: ftutorials/rocky-ssh:1.0
container_name: client3
ports:
- "2225:22"
- "3005:3000"
- "8085:80"
networks:
- ansible_net
client4:
hostname: client4
image: ftutorials/rocky-ssh:1.0
container_name: client4
ports:
- "2226:22"
- "3006:3000"
- "8086:80"
networks:
- ansible_net
quiz-ansible:
image: ftutorials/quiz:ansible-1
container_name: quiz-ansible
ports:
- "3000:3000"
networks:
- ansible_net
networks:
ansible_net:
driver: bridge