forked from gravitystorm/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (44 loc) · 871 Bytes
/
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
version: '2'
services:
kosmtik:
image: kosmtik:v1
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/openstreetmap-carto
depends_on:
- db
ports:
- "127.0.0.1:6789:6789"
environment:
- PGHOST=db
- PGUSER=postgres
db:
image: db:v1
build:
context: .
dockerfile: Dockerfile.db
ports:
- "127.0.0.1:5432:5432"
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
- PG_WORK_MEM
- PG_MAINTENANCE_WORK_MEM
import:
image: import:v1
build:
context: .
dockerfile: Dockerfile.import
volumes:
- .:/openstreetmap-carto
depends_on:
- db
environment:
- PGHOST=db
- PGUSER=postgres
- PG_WORK_MEM
- PG_MAINTENANCE_WORK_MEM
- OSM2PGSQL_CACHE
- OSM2PGSQL_NUMPROC
- OSM2PGSQL_DATAFILE