-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
51 lines (51 loc) · 1.3 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
# OSM POI Matchmaker
version: '2.2'
volumes:
opm_dbdata:
opm_osmdata:
opm_outputdata:
services:
db:
image: postgis/postgis:14-3.2
container_name: opm_db
environment:
- POSTGRES_USER=poi
- POSTGRES_PASSWORD=poitest
- POSTGRES_DB=poi
ports:
- "15432:5432"
shm_size: 1G
volumes:
#- ../container/dbdata-9.6-2.5:/var/lib/postgresql/data/
# - ../container/dbdata-9.6:/var/lib/postgresql/data/
- ../container/dbdata-fresh:/var/lib/postgresql/data/
# - ${PWD}/osm2pgsql/postgresql.conf:/var/lib/postgresql/data/postgresql.conf
restart: on-failure
oom_score_adj: -100
osm_load_app:
image: osm_loader:latest
container_name: opm_osm_load_app
environment:
- PGPASSWORD=poitest
- OSM2PGSQL_VERSION=1.6.0
volumes:
- ../container/osmdata:/opm/osm
depends_on:
- db
links:
- db
restart: on-failure
oom_score_adj: -100
mem_limit: 4g
poi_load_app:
image: osm_poi_matchmaker:latest
container_name: opm_poi_load_app
volumes:
- ../container/osmdata:/opm/osm
- ../container/importdata:/opm/osm_poi_matchmaker/output
- ../container/downloaddata:/opm/osm_poi_matchmaker/cache_url
depends_on:
- db
restart: on-failure
oom_score_adj: -100
mem_limit: 4g