2023-03-18 09:50:06 +01:00
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
services:
|
|
|
|
certbot:
|
|
|
|
depends_on:
|
|
|
|
- webserver
|
|
|
|
image: certbot/certbot:v1.32.0
|
|
|
|
container_name: certbot
|
|
|
|
profiles:
|
|
|
|
- certbot
|
|
|
|
volumes:
|
|
|
|
- certbot-cert:/etc/letsencrypt
|
|
|
|
- wordpress:/var/www/wordpress
|
|
|
|
- jellyfin:/var/www/jellyfin
|
2023-03-19 18:45:36 +01:00
|
|
|
#command: >
|
|
|
|
# certonly --email bensuperpc@bensuperpc.fr --agree-tos --rsa-key-size 4096 --no-eff-email --verbose --noninteractive --staging --webroot
|
|
|
|
# --webroot-path=/var/www/wordpress --domain bensuperpc.org --domain www.bensuperpc.org
|
|
|
|
# --webroot-path=/var/www/jellyfin --domain jellyfin.bensuperpc.org --domain www.jellyfin.bensuperpc.org
|
|
|
|
|
|
|
|
#command: >
|
|
|
|
# certonly --email bensuperpc@bensuperpc.fr --agree-tos --rsa-key-size 4096 --no-eff-email --verbose --noninteractive --force-renewal --webroot
|
|
|
|
# --webroot-path=/var/www/wordpress --domain bensuperpc.org --domain www.bensuperpc.org
|
2023-04-16 00:43:35 +02:00
|
|
|
# --webroot-path=/var/www/jellyfin --domain jellyfin.bensuperpc.org --domain www.jellyfin.bensuperpc.org
|
2023-03-19 18:45:36 +01:00
|
|
|
|
2023-03-18 09:50:06 +01:00
|
|
|
command: >
|
2023-03-19 19:10:36 +01:00
|
|
|
certonly --email bensuperpc@bensuperpc.fr --agree-tos --rsa-key-size 4096 --no-eff-email --verbose --noninteractive --keep-until-expiring --webroot
|
2023-03-19 18:45:36 +01:00
|
|
|
--webroot-path=/var/www/wordpress --domain bensuperpc.org --domain www.bensuperpc.org
|
|
|
|
--webroot-path=/var/www/jellyfin --domain jellyfin.bensuperpc.org --domain www.jellyfin.bensuperpc.org
|
2023-03-19 13:01:07 +01:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
certbot-cert:
|
|
|
|
name: certbot-cert
|