kopia lustrzana https://github.com/osm2vectortiles/osm2vectortiles
102 wiersze
2.1 KiB
YAML
102 wiersze
2.1 KiB
YAML
pgdata:
|
|
image: "tianon/true"
|
|
volumes:
|
|
- /var/lib/postgresql/data
|
|
cache:
|
|
image: "tianon/true"
|
|
volumes:
|
|
- /data/cache
|
|
postgis:
|
|
image: "osm2vectortiles/postgis"
|
|
volumes_from:
|
|
- pgdata
|
|
ports:
|
|
- "5432"
|
|
pgbouncer:
|
|
image: "osm2vectortiles/pgbouncer"
|
|
links:
|
|
- postgis:pg
|
|
ports:
|
|
- "6432"
|
|
import-osm:
|
|
image: "osm2vectortiles/import-osm"
|
|
volumes:
|
|
- ./import:/data/import
|
|
volumes_from:
|
|
- cache
|
|
links:
|
|
- postgis:db
|
|
import-labels:
|
|
image: "osm2vectortiles/import-external"
|
|
command: ./import-labels.sh
|
|
links:
|
|
- postgis:db
|
|
import-natural-earth:
|
|
image: "osm2vectortiles/import-external"
|
|
command: ./import-natural-earth.sh
|
|
links:
|
|
- postgis:db
|
|
import-water:
|
|
image: "osm2vectortiles/import-external"
|
|
command: ./import-water.sh
|
|
links:
|
|
- postgis:db
|
|
update-scaleranks:
|
|
image: "osm2vectortiles/update-scaleranks"
|
|
links:
|
|
- postgis:db
|
|
enqueue-jobs:
|
|
build: ./tools/enqueue-jobs
|
|
environment:
|
|
AWS_REGION: "eu-central-1"
|
|
TASK_ZOOM_LEVEL: 8
|
|
QUEUE_NAME: "osm2vectortiles_jobs"
|
|
export-remote:
|
|
image: "osm2vectortiles/export-remote"
|
|
command: ./export-remote.sh
|
|
volumes:
|
|
- ./open-streets.tm2source:/data/tm2source
|
|
links:
|
|
- pgbouncer:db
|
|
environment:
|
|
AWS_ACCESS_KEY_ID: "${AWS_ACCESS_KEY_ID}"
|
|
AWS_SECRET_ACCESS_KEY: "${AWS_SECRET_ACCESS_KEY}"
|
|
AWS_REGION: "eu-central-1"
|
|
export-local:
|
|
image: "osm2vectortiles/export"
|
|
command: ./export-local.sh
|
|
volumes:
|
|
- ./export:/data/export
|
|
- ./open-streets.tm2source:/data/tm2source
|
|
links:
|
|
- pgbouncer:db
|
|
environment:
|
|
BBOX: "8.4375 46.07323062540838 9.84375 47.040182144806664"
|
|
MIN_ZOOM: "8"
|
|
MAX_ZOOM: "14"
|
|
serve:
|
|
image: "osm2vectortiles/serve"
|
|
volumes:
|
|
- ./export:/data
|
|
ports:
|
|
- "8080:80"
|
|
import-sql:
|
|
image: "osm2vectortiles/import-sql"
|
|
links:
|
|
- postgis:db
|
|
mapbox-studio:
|
|
image: "osm2vectortiles/mapbox-studio"
|
|
volumes:
|
|
- ./open-streets.tm2source:/projects/open-streets.tm2source
|
|
links:
|
|
- postgis:db
|
|
ports:
|
|
- "3000:3000"
|
|
compare-visual:
|
|
image: "osm2vectortiles/compare-visual"
|
|
ports:
|
|
- "4000:3000"
|
|
- "4001:3001"
|
|
links:
|
|
- serve:tileserver
|