-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdev.yml
More file actions
55 lines (43 loc) · 1.07 KB
/
dev.yml
File metadata and controls
55 lines (43 loc) · 1.07 KB
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'
services:
# common services
nginx:
build:
dockerfile: dev.Dockerfile
volumes:
- /home/frontend/test_frontend/build:/srv/frontend
ports:
- "8770:8770"
mysql:
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
# microservices
accounts:
build:
dockerfile: dev.Dockerfile
args:
- ACCOUNTS_VERSION=1.0 # exposed from an environment variable
- WEB_HOST=0.0.0.0
- WEB_PORT=5000
- DB_HOST=mongodb
- DB_PORT=27017
volumes:
- ./data/dev/accounts:/srv/accounts
innopoints:
build:
dockerfile: dev.Dockerfile
args:
- INNOPOINTS_VERSION=1.0 # 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=1.0 # exposed from an environment variable
volumes:
- ./data/dev/innopoints:/srv/innopoints
# other services
innowiki:
build:
dockerfile: dev.Dockerfile