Simple Docker image that runs imap-backup with crontab and healthchecks.io integration.
Checkout the documentation at joeyates/imap-backup and create a config.json configuration file.
docker-compose.yml:
---
version: "3.5"
services:
imap-backup:
image: ghcr.io/michaeldonovan/docker-imap-backup:master
container_name: imap-backup
environment:
- HEALTHCHECK_URL=https://hc-ping.com/<uuid> // OPTIONAL
- SCHEDULE="* * * * *" // OPTIONAL
volumes:
- config.json:/root/.imap-backup/config.json:ro
- <a local destination for backups>:<the path in imap-backup config file>
restart: unless-stopped
MIT