-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
62 lines (61 loc) · 1.43 KB
/
docker-compose.yml
File metadata and controls
62 lines (61 loc) · 1.43 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
---
version: "3.7"
services:
console:
image: ghcr.io/ainamori-iij/iijbootcamp_ansible_console
container_name: "iijbootcamp_ansible_console"
hostname: ansible_console
working_dir: /ansible
privileged: true
tty: true
networks:
vm_net:
ipv4_address: 192.0.2.2
volumes:
- ./ansible:/ansible
host00:
image: ghcr.io/ainamori-iij/iijbootcamp_ansible_host
container_name: "iijbootcamp_ansible_host00"
hostname: ansible_host00
privileged: true
tty: true
networks:
vm_net:
ipv4_address: 192.0.2.100
host01:
image: ghcr.io/ainamori-iij/iijbootcamp_ansible_host
container_name: "iijbootcamp_ansible_host01"
hostname: ansible_host01
privileged: true
tty: true
networks:
vm_net:
ipv4_address: 192.0.2.101
web00:
image: ghcr.io/ainamori-iij/iijbootcamp_ansible_host
container_name: "iijbootcamp_ansible_web00"
hostname: ansible_web00
privileged: true
tty: true
ports:
- "18080:80"
networks:
vm_net:
ipv4_address: 192.0.2.10
app00:
image: ghcr.io/ainamori-iij/iijbootcamp_ansible_host
container_name: "iijbootcamp_ansible_app00"
hostname: ansible_app00
privileged: true
tty: true
expose:
- "8080"
networks:
vm_net:
ipv4_address: 192.0.2.11
networks:
vm_net:
ipam:
driver: default
config:
- subnet: 192.0.2.0/24