Cron job container to launch [mantisbt-sync-core](https://github.com/jrrdev/mantisbt-sync-core) jobs
1.0K
Cron job container from webwurst/docker-go-cron to launch mantisbt-sync-core jobs
The following environment variables must be provided :
The following configuration will run issues sync job every 6 hours :
mantisbt-sync-cron:
image: jrrdev/mantisbt-sync-cron:latest
environment:
- BASE_URL=http://mantisbt-sync-core:8080/batch
- SCHEDULE=@every 6h
- COMMAND=/mantis-sync-cron/tasks.sh syncIssuesJob
- MANTIS_USERNAME=
- MANTIS_PASSWORD=
- MANTIS_PROJECT_ID=1
ports:
- "18080"
links:
- mantisbt-sync-core
** Note : the cron container can only launch one command. If multiple jobs scheduling is required, just add one container per job**
Content type
Image
Digest
Size
6.2 MB
Last updated
almost 10 years ago
docker pull jrrdev/mantisbt-sync-cron