kopia lustrzana https://github.com/kartoza/docker-osm
update readme
rodzic
0b1cdbafc8
commit
21da5833e9
|
@ -21,8 +21,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- 'osm-postgis-data:/var/lib/postgresql'
|
- 'osm-postgis-data:/var/lib/postgresql'
|
||||||
# Uncomment to use the postgis database from outside the docker network
|
# Uncomment to use the postgis database from outside the docker network
|
||||||
# ports:
|
ports:
|
||||||
# - "35432:5432"
|
- "35432:5432"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "exit 0"
|
test: "exit 0"
|
||||||
|
|
||||||
|
|
|
@ -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.
|
* 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.
|
* 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.
|
For further reading and customizations, read below.
|
||||||
|
|
||||||
## Docker cloud
|
## 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
|
```bash
|
||||||
docker pull kartoza/docker-osm:imposm-latest
|
docker pull kartoza/docker-osm:imposm-latest
|
||||||
|
|
Ładowanie…
Reference in New Issue