-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yml
113 lines (113 loc) · 2.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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
version: "2"
services:
rabbit:
image:
rabbitmq:3-management
ports:
- "15672:15672"
environment:
- RABBITMQ_DEFAULT_USER=stackrabbit
- RABBITMQ_DEFAULT_PASS=password
networks:
cnalan:
aliases:
- rabbit
redis:
image:
redis
networks:
cnalan:
aliases:
- redis
db:
build:
context: db
environment:
- MYSQL_ROOT_PASSWORD=toto
- MYSQL_DATABASE=prestashop
- MYSQL_USER=prestashop
- MYSQL_PASSWORD=prestashop1234
networks:
cnalan:
aliases:
- db
web:
build:
context: web
ports:
- "80:80"
links:
- i
- s
- b
- p
networks:
cnalan:
i:
build:
context: microservices/i
links:
- db
networks:
cnalan:
aliases:
- i
s:
build:
context: microservices/s
links:
- redis
networks:
cnalan:
aliases:
- s
b:
build:
context: microservices/b
links:
- w
- rabbit
networks:
cnalan:
aliases:
- b
p:
build:
context: microservices/p
networks:
cnalan:
aliases:
- p
w:
build:
context: microservices/w
networks:
cnalan:
aliases:
- w
w1:
build:
context: microservices/w1
links:
- rabbit
- redis
networks:
cnalan:
aliases:
- w1
w2:
build:
context: microservices/w2
links:
- rabbit
environment:
- W2_APIKEY=key-blabla
- W2_TO=mail@bla
- W2_DOMAIN=mydomain
networks:
cnalan:
aliases:
- w2
networks:
cnalan:
driver: bridge