blob: 86052a6cdc4591076f26beb7d9f04a1d4a92bc82 [file] [log] [blame]
Nico Huber15edd772023-07-01 18:16:50 +00001version: "3"
2name: sourcearcade-certbot
3services:
4 new:
5 build:
6 context: .
7 dockerfile: ./certbot/Dockerfile
8 env_file: environment
9 volumes: &cb-volumes
10 - ./certs/:/etc/letsencrypt/:rw
11 - ./certbot/www/:/var/www/certbot/:rw
12 - ./certbot/lib/:/var/lib/letsencrypt/:rw
13 - ./logs/certbot/:/var/log/letsencrypt/:rw
14 command: certonly -n --agree-tos -m nico.h@gmx.de --webroot --webroot-path /var/www/certbot
15 -d "${SA_PUBLIC_DOMAIN_NAME},id.${SA_PUBLIC_DOMAIN_NAME},mail.${SA_PUBLIC_DOMAIN_NAME},review.${SA_PUBLIC_DOMAIN_NAME}"
16 renew:
17 image: certbot/certbot
18 volumes: *cb-volumes
19 command: renew -n --agree-tos