Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 726 Bytes

File metadata and controls

30 lines (25 loc) · 726 Bytes

TimeOverflow

Setup

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

Run

docker-compose build
docker-compose up

Check for results

docker inspect -f '{{ .Mounts }}' to_data_1_<hash>

Periodic launch of the script

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.