This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.yml
86 lines (77 loc) · 1.95 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
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
78
79
80
81
82
83
84
85
86
version: '3'
services:
postgres:
# Custom image maintained by openmaptiles in https://github.com/openmaptiles/openmaptiles-tools
# Based on postgres:9.6 and includes PostGIS and osml10n extensions
image: openmaptiles/postgis:latest@sha256:dc9eb0a534366197b5f187771846aab3dae1368d44d77378cdd5f4412007f31c
volumes:
- "pgdata:/var/lib/postgresql/data"
ports:
- "5632:5432"
environment:
- POSTGRES_DB=gis
- POSTGRES_USER=gis
- POSTGRES_PASSWORD=gis
cassandra:
image: cassandra:3
volumes:
- "cassandra_data:/var/lib/cassandra"
tilerator:
build:
context: .
dockerfile: tilerator/Dockerfile
depends_on:
- cassandra
- postgres
- redis
environment:
- TILERATOR_MODE=api # This service will not process tiles
volumes:
- update_tiles_data:/data/update_tiles_data
tilerator-worker:
build:
context: .
dockerfile: tilerator/Dockerfile
environment:
- TILERATOR_NUM_WORKERS=ncpu # Number of workers (or ncpu by default)
depends_on:
- cassandra
- postgres
- redis
redis:
image: redis:latest
command: redis-server --appendonly yes # to enable persistence
volumes:
- "redisdata:/data"
load_db:
build:
context: .
dockerfile: load_db/Dockerfile
read_only: true
environment:
- INVOKE_GENERATED_FILES_DIR=/data/generated
- INVOKE_DATA_DIR=/data/input
- INVOKE_UPDATE_TILES_DIR=/data/update_tiles_data
tmpfs:
- /tmp
volumes:
- input_data:/data/input
- imposm_generated_data:/data/generated
- update_tiles_data:/data/update_tiles_data
depends_on:
- postgres
kartotherian:
build:
context: .
dockerfile: kartotherian/Dockerfile
telegraf:
build:
context: .
dockerfile: telegraf/Dockerfile
volumes:
pgdata:
cassandra_data:
redisdata:
input_data:
imposm_generated_data:
update_tiles_data: