-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprod.yml
54 lines (39 loc) · 977 Bytes
/
prod.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
version: '2'
services:
# common services
nginx:
build:
dockerfile: prod.Dockerfile
args:
- FRONTEND_VERSION # exposed from an environment variable
ports:
- "80:8770"
mongodb:
volumes:
- ./data/prod/mongodb:/data/db
# microservices
accounts:
build:
dockerfile: prod.Dockerfile
args:
- ACCOUNTS_VERSION # exposed from an environment variable
- WEB_HOST=0.0.0.0
- WEB_PORT=5000
- DB_HOST=mongodb
- DB_PORT=27017
innopoints:
build:
dockerfile: prod.Dockerfile
args:
- INNOPOINTS_VERSION # exposed from an environment variable
- WEB_HOST=0.0.0.0
- WEB_PORT=4567
- DB_HOST=mysql
- DB_PORT=3306
- ACCOUNTS_HOST=accounts
- ACCOUNTS_PORT=5000
- ACCOUNTS_VERSION # exposed from an environment variable
# other services
innowiki:
build:
dockerfile: prod.Dockerfile