Open
Description
This may be user error of some kind, but I put a profile tag on my certbot container because I don't want it running every time I down/up my compose stack. That seems to have prevented my Ofelia container from being able to start it on its weekly schedule.
If anyone has advice on how to start it anyway, perhaps activating the profile with Ofelia, that would be great.
Relevant part of compose file:
container_name: cron
image: mcuadros/ofelia:0.3
depends_on:
- web
command: daemon --docker -f label=com.docker.compose.project=${COMPOSE_PROJECT_NAME}
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
labels:
ofelia.enabled: "true"
ofelia.job-run.cert-renew.schedule: "@weekly"
ofelia.job-run.cert-renew.container: "cert"
cert:
container_name: cert
image: certbot/dns-cloudflare
profiles:
- cert
Metadata
Metadata
Assignees
Labels
No labels