kopia lustrzana https://github.com/openmaptiles/openmaptiles
pull/1703/head
rodzic
16b5f383c1
commit
5eee11b9a3
2
.env
2
.env
|
@ -52,7 +52,7 @@ BORDERS_CSV_FILE=data/borders/lines.csv
|
|||
MAX_PARALLEL_PSQL=5
|
||||
|
||||
# Number of parallel threads to use when generating vector map tiles
|
||||
COPY_CONCURRENCY=30
|
||||
COPY_CONCURRENCY=25
|
||||
|
||||
# Variables for generate tiles using tilelive-pgquery
|
||||
PGHOSTS_LIST=
|
||||
|
|
|
@ -14,9 +14,13 @@ services:
|
|||
image: "${POSTGIS_IMAGE:-openmaptiles/postgis}:${TOOLS_VERSION}"
|
||||
# Use "command: postgres -c jit=off" for PostgreSQL 11+ because of slow large MVT query processing
|
||||
# Use "shm_size: 512m" if you want to prevent a possible 'No space left on device' during 'make generate-tiles-pg'
|
||||
shm_size: 16g
|
||||
#shm_size: 16g
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
- type: tmpfs
|
||||
target: /dev/shm
|
||||
tmpfs:
|
||||
size: 16000000000 # ~16gb
|
||||
networks:
|
||||
- postgres
|
||||
ports:
|
||||
|
@ -68,6 +72,10 @@ services:
|
|||
- ./build:/mapping
|
||||
- ./cache:/cache
|
||||
- ./style:/style
|
||||
- type: tmpfs
|
||||
target: /dev/shm
|
||||
tmpfs:
|
||||
size: 16000000000 # ~16gb
|
||||
|
||||
update-osm:
|
||||
<<: *openmaptiles-tools
|
||||
|
|
Ładowanie…
Reference in New Issue