-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yaml
77 lines (73 loc) · 1.66 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: "3.7"
services:
geoserver:
build: ./geoserver
image: tosca/geoserver
ports:
- 8080:8080
volumes:
- type: volume
source: geoserver_data
target: /usr/share/geoserver/data_dir
wpsserver:
build: https://github.com/digitalcityscience/TOSCA-flask.git
image: tosca/wpsserver
ports:
- 5000:5000
volumes:
- type: volume
source: grass
target: /pywps-flask/grass
- type: volume
source: output
target: /pywps-flask/outputs
- type: volume
source: geoserver_data
target: /pywps-flask/geoserver_data_dir
environment:
- GEOSERVER_URL=http://geoserver:8080/
- GEOSERVER_USERNAME=admin
- GEOSERVER_PASSWORD=geoserver
- GRASS_DIR=/pywps-flask/grass
webapp:
build: ./webapp
image: tosca/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