forked from openinframap/openinframap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 928 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (39 loc) · 928 Bytes
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
volumes:
postgres_data:
imposm_cache:
imposm_expiry:
imposm_diff:
services:
db:
image: postgis/postgis:17-3.4-alpine
shm_size: 128mb
environment:
POSTGRES_PASSWORD: postgres
volumes:
- postgres_data:/var/lib/postgresql/data
- ./schema/dev-init.sql:/docker-entrypoint-initdb.d/90-dev-init.sql
- ./schema/functions.sql:/docker-entrypoint-initdb.d/91-functions.sql
imposm:
build: imposm
volumes:
- imposm_cache:/imposm-cache
- imposm_expiry:/imposm-expiry
- imposm_diff:/imposm-diff
command:
- run
- -expiretiles-dir
- /imposm-expiry
- -cachedir
- /imposm-cache
- -diffdir
- /imposm-diff
- -mapping
- /mapping.json
- -connection
- "postgis://osm:osm@db/osm"
tegola:
build: tegola
environment:
DB_URI: "postgres://osm:osm@db:5432/osm"
ports:
- "8080:80"