-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.dev.yml
99 lines (91 loc) · 2.24 KB
/
docker-compose.dev.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
version: "3.7"
services:
base:
build: .
image: mds_provider_python
analytics:
image: mds_provider_python
container_name: mds_provider_analytics
working_dir: /usr/src/mds/analytics
entrypoint: ["python", "main.py"]
environment:
- POSTGRES_HOSTNAME
- POSTGRES_HOST_PORT
- MDS_DB
- MDS_USER
- MDS_PASSWORD
ports:
- "${NB_HOST_PORT}:8888"
volumes:
- ./analytics:/usr/src/mds/analytics
- ./data:/usr/src/mds/analytics/data
client:
image: dpage/pgadmin4
container_name: mds_provider_client
environment:
- PGADMIN_DEFAULT_EMAIL
- PGADMIN_DEFAULT_PASSWORD
ports:
- "${PGADMIN_HOST_PORT}:80"
volumes:
- ./data/pgadmin:/var/lib/pgadmin
fake:
image: mds_provider_python
container_name: mds_provider_fake
working_dir: /usr/src/mds/fake
entrypoint: ["python", "main.py"]
environment:
- MDS_BOUNDARY
ports:
- "${NB_HOST_PORT}:8888"
volumes:
- ./fake:/usr/src/mds/fake
- ./data:/usr/src/mds/fake/data
db:
image: mdillon/postgis:10
container_name: mds_provider_db
working_dir: /usr/src/mds/db
entrypoint: [ "bin/entrypoint.sh" ]
environment:
- POSTGRES_HOSTNAME
- POSTGRES_DB
- POSTGRES_USER
- POSTGRES_PASSWORD
- MDS_DB
- MDS_USER
- MDS_PASSWORD
volumes:
- ./db:/usr/src/mds/db
ingest:
image: mds_provider_python
container_name: mds_provider_ingest
working_dir: /usr/src/mds/ingest
entrypoint: ["python", "main.py"]
environment:
- POSTGRES_HOSTNAME
- POSTGRES_HOST_PORT
- MDS_DB
- MDS_USER
- MDS_PASSWORD
ports:
- "${NB_HOST_PORT}:8888"
volumes:
- ./ingest:/usr/src/mds/ingest
- ./data:/usr/src/mds/ingest/data
server:
image: mdillon/postgis:10
container_name: mds_provider_server
environment:
- POSTGRES_DB
- POSTGRES_USER
- POSTGRES_PASSWORD
ports:
- "5432:5432"
validate:
image: mds_provider_python
container_name: mds_provider_validate
working_dir: /usr/src/mds/ingest
entrypoint: ["python", "validation.py"]
volumes:
- ./ingest:/usr/src/mds/ingest
- ./data:/usr/src/mds/ingest/data