To run the scripts it is necessary to setup the environment variables in the
.env file. First copy the .env_default
to .env
cp .env_default .env
docker-compose build
docker-compose up
docker inspect -f '{{ .Mounts }}' to_data_1_<hash>
Each time the container is run, it launches the script until the end and then quits, i.e. the docker container is stopped. To relaunch the script simply:
docker-compose up
This re-runs the scripts quietly (no stdout), and rewrites the files to the designated docker volume, pushes the data to the designated wo db and at the end stops the docker container.