-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
89 lines (80 loc) · 1.71 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
version: "3.5"
networks:
proxy:
driver: bridge
services:
order:
image: eddiriarte/php-8.1
networks:
- proxy
volumes:
- ./order-service:/var/www/html
ports:
- 8000:80
working_dir: /var/www/html
environment:
- VIRTUAL_HOST=order-service.local
customer:
image: eddiriarte/php-8.1
networks:
- proxy
volumes:
- ./customer-service:/var/www/html
ports:
- 8020:80
working_dir: /var/www/html
environment:
- VIRTUAL_HOST=customer-service.local
payment:
image: eddiriarte/php-8.1
networks:
- proxy
volumes:
- ./payment-service:/var/www/html
ports:
- 8040:80
working_dir: /var/www/html
environment:
- VIRTUAL_HOST=payment-service.local
portal:
image: eddiriarte/php-8.1
networks:
- proxy
volumes:
- ./web-portal:/var/www/html
ports:
- 8060:80
working_dir: /var/www/html
environment:
- VIRTUAL_HOST=web-portal.local
slides:
image: nginx
volumes:
- ./docs:/usr/share/nginx/html
ports:
- 3000:80
environment:
- VIRTUAL_HOST=consumer-driven-contract-testing.local
networks:
- proxy
pact-broker:
image: dius/pact-broker
ports:
- 4000:80
volumes:
- ./pact-broker.sqlite:/tmp/pact_broker.sqlite
environment:
- PACT_BROKER_DATABASE_ADAPTER=sqlite
- PACT_BROKER_DATABASE_NAME=/tmp/pact_broker.sqlite
- VIRTUAL_HOST=pact-broker.local
networks:
- proxy
# nginx-proxy:
# image: jwilder/nginx-proxy
# userns: host
# ports:
# - "80:80"
# volumes:
# - /var/run/docker.sock:/tmp/docker.sock:ro
# networks:
# - proxy