30 lines
696 B
YAML
30 lines
696 B
YAML
volumes:
|
|
nominatim-data:
|
|
postgres_data:
|
|
|
|
services:
|
|
db:
|
|
image: postgres:16.2-alpine
|
|
container_name: sumoc_db
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=admin
|
|
- POSTGRES_DB=sumoc
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
ports:
|
|
- "5432:5432"
|
|
restart: always
|
|
|
|
# nominatim:
|
|
# image: mediagis/nominatim:5.2
|
|
# container_name: nominatim
|
|
# environment:
|
|
# PBF_URL: https://download.geofabrik.de/europe/germany/nordrhein-westfalen-latest.osm.pbf
|
|
# REPLICATION_ENABLED: false
|
|
# volumes:
|
|
# - nominatim-data:/var/lib/postgresql/14/main
|
|
# restart: unless-stopped
|
|
# ports:
|
|
# - "6666:8080"
|