blob: 0ac238c20446a8fbb51a83d1fc7abdfb8f57b8d9 [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 -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