-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (43 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
47 lines (43 loc) · 1.07 KB
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
version: "3.9"
services:
mapimages:
build: ./mapimages
volumes:
- "./tiffs:/usr/share/nginx/html"
tiler:
build: ./tiler
environment:
- "FIFTYK_MOSAIC_URL=http://mapimages/50k/mosaic-internal.json"
depends_on:
- mapimages
mapproxy:
build: ./mapproxy
volumes:
- "./cache:/mapproxy/cache_data"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 30s
timeout: 10s
retries: 3
depends_on:
- tiler
seed:
build: ./mapproxy
volumes:
- "./cache:/mapproxy/cache_data"
depends_on:
- tiler
- mapproxy # Not strictly necessary, but ensures service is available for gateway service. Should use healthcheck instead.
entrypoint: ""
command: mapproxy-seed -f /mapproxy/mapproxy.yaml -s /mapproxy/seed.yaml --concurrency 4
gateway:
build: './gateway'
ports:
- "8080:80"
volumes:
- "./cache:/cache"
depends_on:
seed:
condition: service_completed_successfully
mapproxy:
condition: service_healthy