forked from digitalcityscience/TOSCA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
55 lines (53 loc) · 1.12 KB
/
docker-compose.yaml
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
version: "3.7"
services:
geoserver:
build: ./geoserver
image: open-city-toolkit/geoserver
ports:
- 8080:8080
volumes:
- type: volume
source: geoserver_data
target: /usr/share/geoserver/data_dir
webapp:
build: ./webapp
image: open-city-toolkit/webapp
ports:
- 3000:3000
volumes:
- type: volume
source: grass
target: /oct/grass
- type: volume
source: output
target: /oct/output
- type: volume
source: geoserver_data
target: /usr/share/geoserver/data_dir
environment:
- DATA_FROM_BROWSER_DIR=/oct/data_from_browser
- GRASS_DIR=/oct/grass
- OUTPUT_DIR=/oct/output
- GEOSERVER_URL=http://localhost:8080/
- INITIAL_LAT=
- INITIAL_LON=
- USE_LANG=
volumes:
geoserver_data:
driver: local
driver_opts:
type: none
o: bind
device: ./geoserver_data_dir
grass:
driver: local
driver_opts:
type: none
o: bind
device: ./grass
output:
driver: local
driver_opts:
type: none
o: bind
device: ./output