kopia lustrzana https://github.com/osm2vectortiles/osm2vectortiles
Use volumes path in docker compose and make wget silent
rodzic
0f9ab08422
commit
a1b4dcf7fc
|
@ -19,7 +19,7 @@ postgis:
|
|||
imposm3:
|
||||
build: ./import/imposm3
|
||||
volumes:
|
||||
- ./volumes/imposm3:/data/import
|
||||
- ./volumes/import:/data/import
|
||||
volumes_from:
|
||||
- cache
|
||||
links:
|
||||
|
@ -44,7 +44,7 @@ worker:
|
|||
build: ./export/worker
|
||||
volumes:
|
||||
- ./open-streets.tm2source:/data/tm2source
|
||||
- ./volumes/worker:/data/export
|
||||
- ./volumes/export:/data/export
|
||||
links:
|
||||
- postgis:db
|
||||
environment:
|
||||
|
@ -57,6 +57,6 @@ worker:
|
|||
tileserver:
|
||||
build: ./tileserver
|
||||
volumes:
|
||||
- ./export:/data
|
||||
- ./volumes/export:/data
|
||||
ports:
|
||||
- "8080:80"
|
||||
|
|
|
@ -20,7 +20,7 @@ readonly PG_CONNECT="postgis://$OSM_USER:$OSM_PASSWORD@$DB_HOST/$OSM_DB"
|
|||
|
||||
function download_pbf() {
|
||||
local pbf_url=$1
|
||||
wget --directory-prefix "$IMPORT_DATA_DIR" --no-clobber "$pbf_url"
|
||||
wget -q --directory-prefix "$IMPORT_DATA_DIR" --no-clobber "$pbf_url"
|
||||
}
|
||||
|
||||
function import_pbf() {
|
||||
|
|
Ładowanie…
Reference in New Issue