blob: 0ac238c20446a8fbb51a83d1fc7abdfb8f57b8d9 [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
Nico Huber03a18a62023-07-21 15:18:24 +000014 command: certonly -n -m nico.h@gmx.de --webroot --webroot-path /var/www/certbot
Nico Huber15edd772023-07-01 18:16:50 +000015 -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