-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
65 lines (59 loc) · 1.28 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
version: "3.3"
services:
map-it:
depends_on:
- postgres-osm
build:
context: .
dockerfile: Dockerfile
image: hiddewie/map-it
env_file:
- .env
volumes:
- './data/combined.tif:/map-it/data/combined.tif'
- './output:/map-it/output'
map-it-bounds:
build:
context: .
dockerfile: bounds.Dockerfile
image: hiddewie/map-it-bounds
env_file:
- .env
map-it-import:
depends_on:
- postgres-osm
build:
context: .
dockerfile: import.Dockerfile
image: hiddewie/map-it-import
env_file:
- .env
volumes:
- './data:/data'
map-it-kosmtik:
depends_on:
- postgres-osm
build:
context: .
dockerfile: kosmtik.Dockerfile
ports:
- "6789:6789"
volumes:
- './data/combined.tif:/map-it/data/combined.tif'
environment:
- PGHOST=postgres-osm
- PGUSER=osm
# Dependencies
postgres-osm:
image: postgis/postgis:15-3.3-alpine
command: postgres -c log_min_duration_statement=1000
ports:
- '5432:5432'
volumes:
- './postgres-data:/var/lib/postgresql'
env_file:
- .env
environment:
- POSTGRES_USER=${PG_USER}
- POSTGRES_PASSWORD=${PG_PASSWORD}
- POSTGRES_DB=${PG_DATABASE}