-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
45 lines (43 loc) · 1.04 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
version: '3'
services:
generate-assets:
build:
context: .
dockerfile: Dockerfile
image: guardianconnector-change-detection:latest
volumes:
- .:/app
ports:
- "80:80"
env_file:
- .env
environment:
- INPUT_GEOJSON_FILE=${INPUT_GEOJSON_FILE}
- INPUT_T0_FILE=${INPUT_T0_FILE}
- INPUT_T1_FILE=${INPUT_T1_FILE}
- OUTPUT=${OUTPUT}
- ENVIRONMENT=docker
command: ${COMMAND}
tileserver-gl:
build:
context: .
dockerfile: Dockerfile.tileserver
ports:
- "8080:8080"
volumes:
- ./outputs/${OUTPUT}/mapgl-map:/data
depends_on:
- generate-assets
compile-composite-raster:
image: guardianconnector-change-detection:latest
volumes:
- .:/app
depends_on:
- tileserver-gl
env_file:
- .env
environment:
- INPUT_GEOJSON_FILE=${INPUT_GEOJSON_FILE}
- OUTPUT=${OUTPUT}
- ENVIRONMENT=docker
command: python docker-tileserver-compile.py --geojson ${INPUT_GEOJSON_FILE} --output ${OUTPUT}