blob: 86052a6cdc4591076f26beb7d9f04a1d4a92bc82 [file] [log] [blame]
version: "3"
name: sourcearcade-certbot
services:
new:
build:
context: .
dockerfile: ./certbot/Dockerfile
env_file: environment
volumes: &cb-volumes
- ./certs/:/etc/letsencrypt/:rw
- ./certbot/www/:/var/www/certbot/:rw
- ./certbot/lib/:/var/lib/letsencrypt/:rw
- ./logs/certbot/:/var/log/letsencrypt/:rw
command: certonly -n --agree-tos -m nico.h@gmx.de --webroot --webroot-path /var/www/certbot
-d "${SA_PUBLIC_DOMAIN_NAME},id.${SA_PUBLIC_DOMAIN_NAME},mail.${SA_PUBLIC_DOMAIN_NAME},review.${SA_PUBLIC_DOMAIN_NAME}"
renew:
image: certbot/certbot
volumes: *cb-volumes
command: renew -n --agree-tos