-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
57 lines (56 loc) · 1.26 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
version: "3.7"
services:
console:
image: registry.access.redhat.com/ubi9-init:9.2-8
container_name: "iijbootcamp_ansible_console"
working_dir: /ansible
privileged: true
tty: true
networks:
vm_net:
ipv4_address: 192.0.2.2
volumes:
- ./ansible:/ansible
host00:
image: registry.access.redhat.com/ubi9-init:9.2-8
container_name: "iijbootcamp_ansible_host00"
privileged: true
tty: true
networks:
vm_net:
ipv4_address: 192.0.2.100
host01:
image: registry.access.redhat.com/ubi9-init:9.2-8
container_name: "iijbootcamp_ansible_host01"
privileged: true
tty: true
networks:
vm_net:
ipv4_address: 192.0.2.101
web00:
image: registry.access.redhat.com/ubi9-init:9.2-8
container_name: "iijbootcamp_ansible_web00"
privileged: true
tty: true
ports:
- "18080:80"
networks:
vm_net:
ipv4_address: 192.0.2.10
app00:
image: registry.access.redhat.com/ubi9-init:9.2-8
container_name: "iijbootcamp_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