diff --git a/README.md b/README.md index f76ef3e..0fc5244 100644 --- a/README.md +++ b/README.md @@ -165,15 +165,7 @@ docker run \ ### Flat nodes -If you are planning to import the entire planet or you are running into memory errors then you may want to enable the `--flat-nodes` option for osm2pgsql. This option takes a path to a file that must be persisted so we should first set up a volume with the right permissions: - -``` -docker run -it -v openstreetmap-nodes:/nodes --entrypoint=bash overv/openstreetmap-tile-server -$ chown renderer:renderer -R /nodes -$ exit -``` - -You can then use it during the import process as follows: +If you are planning to import the entire planet or you are running into memory errors then you may want to enable the `--flat-nodes` option for osm2pgsql. You can then use it during the import process as follows: ``` docker run \ @@ -185,6 +177,8 @@ docker run \ import ``` +>Note that if you use a folder other than `/nodes` then you must make sure that you manually set the owner to `renderer`! + ### Benchmarks You can find an example of the import performance to expect with this image on the [OpenStreetMap wiki](https://wiki.openstreetmap.org/wiki/Osm2pgsql/benchmarks#debian_9_.2F_openstreetmap-tile-server).