-
Notifications
You must be signed in to change notification settings - Fork 193
/
Copy pathdocker-compose-workshop.yml
53 lines (51 loc) · 1.08 KB
/
docker-compose-workshop.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
version: '2'
networks:
custom:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.61.0/24
services:
control:
image: codespaces/ansible-control:2.9.17
ports:
- "8000:8000"
volumes:
- ./code:/workspace
networks:
custom:
ipv4_address: 192.168.61.10
domainname: codespaces.io
hostname: control
restart: always
frontend:
image: codespaces/ansible-node-ubuntu:1804-python3
ports:
- "80:8079"
networks:
custom:
ipv4_address: 192.168.61.11
domainname: codespaces.io
hostname: frontend
restart: always
catalogue:
image: codespaces/ansible-node-ubuntu:1804-python3
ports:
- "7081:7081"
networks:
custom:
ipv4_address: 192.168.61.12
domainname: codespaces.io
hostname: catalogue
restart: always
carts:
image: codespaces/ansible-node-ubuntu:1804-python3
ports:
- "8081:8081"
networks:
custom:
ipv4_address: 192.168.61.13
domainname: codespaces.io
hostname: carts
restart: always