forked from CityofSantaMonica/mds-provider-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
86 lines (79 loc) · 1.72 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
version: "3"
services:
analytics:
build: ./analytics
image: mds_provider_analytics
container_name: mds_provider_analytics
environment:
- POSTGRES_HOSTNAME
- POSTGRES_HOST_PORT
- MDS_DB
- MDS_USER
- MDS_PASSWORD
ports:
- "${NB_HOST_PORT}:8888"
volumes:
- ./analytics:/home/${NB_USER}/work/mds/analytics
- data:/home/${NB_USER}/work/mds/data
client:
build: ./client
image: mds_provider_client
container_name: mds_provider_client
environment:
- PGADMIN_DEFAULT_EMAIL
- PGADMIN_DEFAULT_PASSWORD
ports:
- "${PGADMIN_HOST_PORT}:80"
fake:
build: ./fake
image: mds_provider_fake
container_name: mds_provider_fake
environment:
- MDS_BOUNDARY
- NB_USER
- NB_UID
- NB_GID
ports:
- "${NB_HOST_PORT}:8888"
user: root
volumes:
- data:/home/${NB_USER}/work/mds/data
db:
build: ./db
image: mds_provider_db
container_name: mds_provider_db
environment:
- POSTGRES_HOSTNAME
- POSTGRES_DB
- POSTGRES_USER
- POSTGRES_PASSWORD
- MDS_DB
- MDS_USER
- MDS_PASSWORD
ingest:
build: ./ingest
image: mds_provider_ingest
container_name: mds_provider_ingest
environment:
- POSTGRES_HOSTNAME
- POSTGRES_HOST_PORT
- MDS_DB
- MDS_USER
- MDS_PASSWORD
ports:
- "${NB_HOST_PORT}:8888"
user: root
volumes:
- data:/home/${NB_USER}/work/mds/data
server:
build: ./server
image: mds_provider_server
container_name: mds_provider_server
environment:
- POSTGRES_DB
- POSTGRES_USER
- POSTGRES_PASSWORD
ports:
- "5432:5432"
volumes:
data: