This container is in charge to import data from PBF file or OSM files into the API database.
This container needs some environment variables passed into it in order to run:
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
and .env.db-utils
URL_FILE_TO_IMPORT
it could be a PBF file or OSM file.
Get those files form 👇
# Docker compose
docker-compose run populate-apidb
# Docker
docker run \
--env-file ./envs/.env.db \
--env-file ./envs/.env.db-utils \
-v ${PWD}/data/populate-apidb-data:/mnt/data \
--network osm-seed_default \
-it osmseed-populate-apidb:v1