-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.git.yml
More file actions
44 lines (43 loc) · 1.18 KB
/
docker-compose.git.yml
File metadata and controls
44 lines (43 loc) · 1.18 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
version: '3'
services:
mongo:
image: 'mongo:4.4'
restart: always
environment:
- MONGO_INITDB_ROOT_USERNAME=${MM_MONGO_USER}
- MONGO_INITDB_ROOT_PASSWORD=${MM_MONGO_PWD}
- MONGO_DEVS=${MONGO_TEST}
- MONGO_DEV_PWD=${MONGO_TEST_PWD}
- MM_DB=${MM_DB}
ports:
- '27017:27017'
volumes:
- ./mockDB/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh
proxy:
image: 'dukematsci/dev-proxy:latest'
depends_on:
- api
- client
restart: always
ports:
- '80:80'
api:
image: 'dukematsci/dev-restful:latest'
depends_on:
- mongo
environment:
- DB_USERNAME=${MONGO_TEST}
- DB_PASSWORD=${MONGO_TEST_PWD}
- MM_DB=${MM_DB}
- MONGO_ADDRESS=${MONGO_ADDRESS}
- MONGO_PORT=${MONGO_PORT}
- TKNS=${TKNS}
- MM_RUNTIME_ENV=${MM_RUNTIME_ENV}
client:
image: 'dukematsci/dev-app:latest'
depends_on:
- api
kgapp:
image: 'dukematsci/dev-kgapp:latest'
volumes:
mockDB: