Dockerfile definition to run a container with osmosis
installed. This container definition will be responsible to create the planet dump in PBF format according to a schedule.
In order to run this container we need environment variables, these can be found in the following files👇:
Note: Rename the above files as .env.db
, .env.db-utils
and .env.cloudprovider
# Docker compose
docker-compose run planet-dump
# Docker
docker run \
--env-file ./envs/.env.db \
--env-file ./envs/.env.planet-dump \
--env-file ./envs/.env.cloudprovider \
-v ${PWD}/data/planet-dump-data:/mnt/data \
--network osm-seed_default \
-it osmseed-planet-dump:v1