diff --git a/docker-compose.yml b/docker-compose.yml index ee9e07a..6e7ed8a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,8 +21,8 @@ services: volumes: - 'osm-postgis-data:/var/lib/postgresql' # Uncomment to use the postgis database from outside the docker network - # ports: - # - "35432:5432" + ports: + - "35432:5432" healthcheck: test: "exit 0" diff --git a/readme.md b/readme.md index a048c72..5b7d8f2 100644 --- a/readme.md +++ b/readme.md @@ -20,13 +20,13 @@ ports: ``` * Do `make run` in the build directory. This will download and execute the docker-osm project. It might be very long depending of your bandwidth and the PBF you are importing. * In QGIS, add a new PostGIS connexion: `localhost`, database `gis`, port `35432`, `docker` for both username and password. -* That's it! You have a OSM database, up and running. The update is done every 2 minutes from the main OSM website. +* That's it! You have an OSM database, up and running. The update is done every 2 minutes from the main OSM website. For further reading and customizations, read below. ## Docker cloud -Dockerfiles are executed on https://cloud.docker.com +Dockerfiles are executed on [Docker Cloud kartoza/docker-osm](https://cloud.docker.com/swarm/kartoza/repository/docker/kartoza/docker-osm/general) ```bash docker pull kartoza/docker-osm:imposm-latest