Skip to content

Commit

Permalink
Update Docker Compose configuration and remove obsolete Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobMiksch committed Dec 25, 2024
1 parent add75a5 commit 548b042
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 22 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,8 @@ wget -O data/sample.pbf https://download.geofabrik.de/europe/andorra-latest.osm.
# [optional] shut down existing compose stack
docker compose down --volumes --remove-orphans
# build docker images
docker compose build
# start services (and also built images)
docker compose up -d --build
# start services
docker compose up -d
# load data into db
docker compose run --rm osm2pgsql \
Expand Down
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
interval: 10s

osm2pgsql:
build: ./docker-osm2pgsql
image: iboates/osm2pgsql:2.0.1
environment:
- PGHOST
- PGDATABASE
Expand Down
16 changes: 0 additions & 16 deletions docker-osm2pgsql/Dockerfile

This file was deleted.

0 comments on commit 548b042

Please sign in to comment.