-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you send compose file? #18
Comments
What? |
A very rudimentary version: "3.7"
volumes:
openstreetmap-data:
openstreetmap-rendered-tiles:
services:
osm:
image: overv/openstreetmap-tile-server
command: run
environment:
- THREADS=4
volumes:
- openstreetmap-data:/var/lib/postgresql/10/main
- openstreetmap-rendered-tiles:/var/lib/mod_tile
ports:
- 0.0.0.0:80:80
shm_size: 128M
restart: always Before the service can be started and used, the database needs to be initialized: # download PBF file
wget -O data.osm.pbf https://download.geofabrik.de/europe/germany/hamburg-latest.osm.pbf
# initializes the database and import the PBF file
docker-compose run -v "/`pwd`/data.osm.pbf":/data.osm.pbf osm import
# start the service
docker-compose up -d
# pre render all tiles on zoom levels 0 to 5
docker-compose exec osm render_list -a -f -m ajt -z 0 -Z 5 |
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please , send me docker-compose.yml
The text was updated successfully, but these errors were encountered: