Merge pull request #66 from stevo01/master

pull request solves issues #63 #64 #65
This commit is contained in:
Alexander Overvoorde
2019-09-26 20:06:48 +02:00
committed by GitHub
4 changed files with 16 additions and 2 deletions

View File

@@ -139,6 +139,18 @@ docker run \
run
```
### CACHE
The import and tile serving processes use 800 MB RAM cache by default, but this number can be changed by option -C. For example:
```
docker run \
-p 80:80 \
-e "OSM2PGSQL_EXTRA_ARGS=-C 4096" \
-v openstreetmap-data:/var/lib/postgresql/10/main \
-d overv/openstreetmap-tile-server \
run
```
### AUTOVACUUM
The database use the autovacuum feature by default. This behavior can be changed with `AUTOVACUUM` environment variable. For example: