-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
50 lines (47 loc) · 965 Bytes
/
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
version: '3.2'
services:
db:
image: postgis/postgis:latest
restart: always
networks:
- 'internal'
- 'external'
ports:
- '5432:5432'
env_file:
- ./helpful_files/db.env
volumes:
- ./data/db:/var/lib/postgresql/data
geoserver:
image: tethysplatform/geoserver:latest
restart: always
networks:
- 'internal'
- 'external'
ports:
- '8181:8181'
- '8081-8084:8081-8084'
env_file:
- ./helpful_files/geoserver.env
volumes:
- ./data/geoserver:/var/geoserver/data
web:
# image: gioelkin/nasaacess:2.0.1
build: .
restart: always
depends_on:
- 'db'
networks:
- 'internal'
- 'external'
ports:
- '80:80'
env_file:
- ./helpful_files/tethys_mockup.env
volumes:
# - ./data/tethys:/var/lib/tethys_persist
- ./logs/tethys:/var/log/tethys
networks:
internal:
internal: true
external: