Closed bgabor99 closed 11 months ago
#!/bin/sh
docker-compose -f /path/to/docker-compose.yml restart my-scheduled-service
healthcheck:
test: ["CMD-SHELL", "if [ $(date +%M) -eq 00 ] || [ $(date +%M) -eq 30 ]; then exit 1; else exit 0; fi"]
interval: 1m
timeout: 10s
retries: 3
start_period: 10s
PR: #56