-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
54 lines (51 loc) · 1.11 KB
/
docker-compose.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
services:
graphql-engine:
image: hasura/graphql-engine:v2.44.0
volumes:
- ./viewer/graphql-engine-metadata:/metadata
ports:
- 8084:8080
environment:
HASURA_GRAPHQL_DATABASE_URL: postgres://visionzero:visionzero@postgis:5432/atd_vz_data
HASURA_GRAPHQL_ENABLE_CONSOLE: "true"
HASURA_GRAPHQL_CONSOLE_ASSETS_DIR: /srv/console-assets
HASURA_GRAPHQL_NO_OF_RETRIES: 30
depends_on:
- postgis
vze:
tty: true
container_name: visionzero-vze
command: npm start
ports:
- 3000:3000
hostname: vze
build: editor
volumes:
- ./editor:/root/editor
vzv:
tty: true
container_name: visionzero-vzv
command: npm start
ports:
- 3001:3000
hostname: vzv
build: viewer
volumes:
- ./viewer:/root/viewer
postgis:
build: database
env_file:
- .env
volumes:
- ./database/snapshots:/snapshots
ports:
- 5432:5432
cr3-user-api:
build: api
# image: atddocker/vz-user-cr3-api
env_file:
- api/.env
ports:
- 8085:5000
volumes:
- ./api:/usr/src/app