-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathdocker-compose.yml
92 lines (84 loc) · 1.76 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
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
version: '3'
services:
# postgresql with postgis docker image to hold the data
postgres:
image: mdillon/postgis:9.5
volumes:
- postgres:/var/lib/postgresql/data
networks:
- bety
ports:
- 9000:5432
restart: unless-stopped
# BETY docker image
bety:
image: pecan/bety:${BRANCH:-latest}
ports:
- 8000:8000
networks:
- bety
environment:
- INITIALIZE_URL=-w https://terraref.ncsa.illinois.edu/bety/dump/bety0/bety.tar.gz
- REMOTE_SERVERS=6
- UNICORN_WORKER_PROCESSES=1
- SECRET_KEY_BASE=thisissomereallllllylongsecretkeyandshouldbelongerthanthis
- DUMPURL=https://terraref.ncsa.illinois.edu/bety/dump/bety6/bety.tar.gz
depends_on:
- postgres
restart: unless-stopped
yaba_api:
build: ./app
networks:
- bety
volumes:
- ./app:/code
ports:
- 5001:5000
depends_on:
- postgres
yaba_client:
build: ./client
networks:
- bety
volumes:
- ./client:/code
ports:
- 6001:6000
depends_on:
- yaba_api
yaba_visualization:
build: ./visualization
networks:
- bety
volumes:
- './visualization:/code'
- '/code/node_modules'
environment:
- HOST=0.0.0.0
- PORT=8075
ports:
- 8008:8075
depends_on:
- postgres
restart: unless-stopped
yaba_interface:
build: ./interface
networks:
- bety
volumes:
- './interface:/code'
- '/code/node_modules'
ports:
- 3001:3000
environment:
- CHOKIDAR_USEPOLLING=true
- REACT_APP_HOST=0.0.0.0
- REACT_APP_PORT=3000
depends_on:
- yaba_client
- yaba_visualization
stdin_open: true
volumes:
postgres:
networks:
bety: