Add disk for database and tiles, instructions for import
This commit is contained in:
+9
-5
@@ -4,12 +4,16 @@ services:
|
||||
map:
|
||||
image: overv/openstreetmap-tile-server
|
||||
volumes:
|
||||
- osm-data:/data/database/
|
||||
- ./run.sh:/run.sh
|
||||
#- osm-data:/data/database/
|
||||
- ./database:/data/database/
|
||||
- ./tiles:/data/tiles/
|
||||
- ./run.sh:/run.sh # for dev
|
||||
- ./pbf/luxembourg-latest.osm.pbf:/data/region.osm.pbf # change here your pbf
|
||||
- ./pbf/luxembourg.poly:/data/region.poly # and your poly
|
||||
ports:
|
||||
- "8080:80"
|
||||
command: "run"
|
||||
|
||||
volumes:
|
||||
osm-data:
|
||||
external: true
|
||||
# volumes:
|
||||
# osm-data:
|
||||
# external: true
|
||||
|
||||
Reference in New Issue
Block a user