Skip to content

Commit

Permalink
documented the osm loading in the docker-compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Jul 14, 2024
1 parent 304bec6 commit 6e45e5e
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,51 @@ services:
- "traefik.http.middlewares.navigatum-redirect-to-https.redirectregex.replacement=https://nav.tum.de/$${3}"
- "traefik.http.middlewares.navigatum-redirect-to-https.redirectregex.permanent=true"
- "traefik.http.services.navigatum-redirect-https.loadbalancer.server.port=80"
# see the readme, this is only required once
# osm2pgsql_create:
# image: iboates/osm2pgsql:latest
# command:
# - osm2pgsql
# - --create
# - --slim
# - --database
# - ${POSTGRES_DB}
# - --user
# - ${POSTGRES_USER}
# - --host
# - db
# - --port
# - '5432'
# - /data/data.pbf
# - --hstore
# - --hstore-add-index
# - --hstore-column
# - raw
# environment:
# - PGPASSWORD=${POSTGRES_PASSWORD}
# depends_on:
# db:
# condition: service_healthy
# volumes:
# - ./:/data:ro
# osm_replication_init:
# image: iboates/osm2pgsql:latest
# command:
# - replication
# - init
# - --database
# - ${POSTGRES_DB}
# - --username
# - ${POSTGRES_USER}
# - --host
# - db
# - --port
# - '5432'
# environment:
# - PGPASSWORD=${POSTGRES_PASSWORD}
# depends_on:
# osm2pgsql_create:
# condition: service_completed_successfully

volumes:
tileserver-src:
Expand Down

0 comments on commit 6e45e5e

Please sign in to comment.