The cron container for monitoring the DRS dropbox for LOADREPROT files
- log files are in the
logs
subdirectory
NodeJS
Express
Docker Compose
git clone git@github.huit.harvard.edu:LTS/hdc3a-cron.git
- Make a copy of the config example file
./env-example.txt
- Rename the file to
.env
- Replace placeholder values as necessary
Note: The config file .env is specifically excluded in .gitignore and .dockerignore, since it contains credentials it should NOT ever be committed to any repository.
This command builds all images and runs all containers specified in the docker-compose-local.yml configuration.
docker-compose -f docker-compose-local.yml up -d --build --force-recreate
Open a shell using the exec command to access the hdc3a-cron container.
docker exec -it cron bash
This command stops and removes all containers specified in the docker-compose-local.yml configuration. This command can be used in place of the 'stop' and 'rm' commands.
docker-compose -f docker-compose-local.yml down