services: certbot: image: certbot/dns-cloudflare volumes: - ./letsencrypt:/letsencrypt - ./cloudflare:/cloudflare - ./certbot/logs:/logs - ./certbot/work:/work environment: - DOMAIN=${DOMAIN:-mail.haiky.app} - EMAIL=${EMAIL:-deine-email@example.com} user: "${UID:-1000}:${GID:-1000}" command: certonly --dns-cloudflare --dns-cloudflare-credentials /cloudflare/cloudflare.ini --email ${EMAIL:-deine-email@example.com} --agree-tos --no-eff-email -d ${DOMAIN:-mail.haiky.app} --config-dir /letsencrypt --work-dir /work --logs-dir /logs