docker_mimir
1.0.0
This repository was previously maintained together with a mirror containing our deployment workflows. Keeping this repository independent from our configurations turned out to be a lot of efforts for only few benefits.
docker_mimir is an import pipeline based on invoke. The easiest way to configure invoke is to create a custom configuration file. All possible variables are commented in the default configuration file: invoke.yaml.docker_mimir requires pipenv.To configure the required data directories, some environment variable can be set (in cli or in a .env file in the directory). The env variables that can be set as follows:
OSM_DIR=<path to osm data dir>
ADDR_DIR=<path to addresses data dir>
COSMOGONY_DIR=<path to cosmogony data dir>pipenv run inv -f docker_settings.yaml load-in-docker-and-testdocker_settings.yaml contains an example configuration to download and import data about Luxembourg.docker-compose up.invoke chaining calls:pipenv run inv -f docker_settings.yaml compose-up load-all compose-down
Some other docker-compose files can also be given (this will use the docker compose override mechanism). It will for example make it possible to use customly build image to run tests on a given Mimir (or Fafnir, Cosmogony, ...) branch.
The file paths are given with the --files arguments, as follows:
pipenv run inv -f docker_settings.yaml load-in-docker-and-test --files my-docker-compose.yml --files my-other-compose.yml