Release v2.0 - add Netherlands POI analysis
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
services:
|
||||
postgis:
|
||||
image: postgis/postgis:16-3.4
|
||||
container_name: adres-analyse-postgis
|
||||
environment:
|
||||
POSTGRES_DB: adresanalyse
|
||||
POSTGRES_USER: adres
|
||||
POSTGRES_PASSWORD: adres
|
||||
TZ: Europe/Amsterdam
|
||||
ports:
|
||||
- "5433:5432"
|
||||
volumes:
|
||||
- ./data/postgis:/var/lib/postgresql/data
|
||||
shm_size: 1g
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U adres -d adresanalyse"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
osm2pgsql:
|
||||
image: iboates/osm2pgsql:1.11.0
|
||||
container_name: adres-analyse-osm2pgsql
|
||||
profiles: ["import"]
|
||||
depends_on:
|
||||
postgis:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- ./data/osm:/data/osm:ro
|
||||
- ./osm2pgsql.style:/data/osm2pgsql.style:ro
|
||||
environment:
|
||||
PGPASSWORD: adres
|
||||
command: >
|
||||
osm2pgsql
|
||||
--create
|
||||
--slim
|
||||
--drop
|
||||
--cache 2000
|
||||
--number-processes 4
|
||||
--hstore
|
||||
--latlong
|
||||
--style /data/osm2pgsql.style
|
||||
-d adresanalyse
|
||||
-U adres
|
||||
-H postgis
|
||||
-P 5432
|
||||
/data/osm/netherlands-latest.osm.pbf
|
||||
Reference in New Issue
Block a user