-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (48 loc) · 904 Bytes
/
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
version: "3"
services:
frontend:
build: ./python-frontend
links:
- goweb-svc
- pyweb-svc
environment:
- GO_BACKEND=http://hostip:8081/
- PY_BACKEND=http://hostip:5004/
ports:
- "5000:5000"
goweb-svc:
build: ./goweb-mid
links:
- goweb-backend
- pyweb-backend
environment:
- BACKEND_SVC=http://hostip:5003/
ports:
- "8081:80"
pyweb-svc:
build: ./python-mid
links:
- pythonapp
- pyweb-backend
environment:
- PY_BACKEND=http://hostip:5001/
ports:
- "5004:5000"
goweb-backend:
build: ./goweb-backend
ports:
- "5003:5000"
pyweb-backend:
build: ./python-backend
ports:
- "5002:5000"
pythonapp:
build: ./python-dbapp
links:
- db
ports:
- "5001:5000"
db:
build: ./python-mysqldb
ports:
- "3306:3306"