-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
42 lines (40 loc) · 1.01 KB
/
docker-compose.yaml
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
services:
integration:
image: osm-integration
container_name: osm_integration
command: [ "/bin/bash", "-c", "trap : TERM INT; sleep infinity & wait" ]
build:
context: .
args:
- http_proxy
- https_proxy
environment:
- OSM_PLANET_URL=$OSM_PLANET_URL
- USE_FLAT_NODES=$USE_FLAT_NODES
- CACHE_SIZE=$CACHE_SIZE
- http_proxy
- https_proxy
- HTTP_PROXY
- HTTPS_PROXY
- PGHOST=db
- PGPORT=5432
- PGUSER=postgres
- PGPASSWORD=$POSTGRES_PASSWORD
- PGDATABASE=osm
volumes:
- integration-data:/opt/osm-integration/data
- osm-carto-data:/opt/osm-integration/styles/openstreetmap-carto/data
db:
image: postgis/postgis:15-3.4-alpine
container_name: osm_db
environment:
- POSTGRES_PASSWORD=$POSTGRES_PASSWORD
volumes:
- db-data:/var/lib/postgresql/data
volumes:
db-data:
name: osm-db-data
integration-data:
name: osm-integration-data
osm-carto-data:
name: osm-carto-data