-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
58 lines (58 loc) · 1.25 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
version: "3"
services:
db:
image: postgis/postgis:latest
restart: always
networks:
- "internal"
ports:
- "5432:5432"
env_file:
- ./env/db.env
volumes:
- ./data/db:/var/lib/postgresql/data
thredds:
image: unidata/thredds-docker:latest
restart: always
networks:
- "internal"
- "external"
ports:
- "8080:8080"
env_file:
- ./env/thredds.env
volumes:
- ./data/thredds/:/usr/local/tomcat/content/thredds
- ./logs/thredds/tomcat/:/usr/local/tomcat/logs/
- ./logs/thredds/thredds/:/usr/local/tomcat/content/thredds/logs/
- ./config/thredds/tomcat-users.xml:/usr/local/tomcat/conf/tomcat-users.xml
redis:
image: redis:latest
restart: always
networks:
- "internal"
ports:
- "6379:6379"
web:
image: tethys-portal-docker:latest
build: .
restart: always
depends_on:
- "db"
- "thredds"
- "redis"
networks:
- "internal"
- "external"
ports:
- "80:80"
env_file:
- ./env/web.env
volumes:
- ./data/tethys:/var/lib/tethys_persist
- ./keys/gee:/var/lib/tethys/keys
- ./logs/tethys:/var/log/tethys
networks:
internal:
internal: true
external: