infrastructure/docker-compose.certbot.yml
Bensuperpc 6c244e3e68
Update nginx containter
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2023-03-19 13:01:07 +01:00

27 lines
1.2 KiB
YAML

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
- ./bensuperpc_website:/var/www/flask
#command: certonly --email bensuperpc@bensuperpc.fr --agree-tos --rsa-key-size 4096 --no-eff-email --verbose --noninteractive --staging --webroot \
#command: certonly --email bensuperpc@bensuperpc.fr --agree-tos --rsa-key-size 4096 --no-eff-email --verbose --noninteractive --force-renewal --webroot \
# --expand
command: >
certonly --email bensuperpc@bensuperpc.fr --agree-tos --rsa-key-size 4096 --no-eff-email --verbose --noninteractive --keep-until-expiring --webroot
--webroot-path=/var/www/flask --domain bensuperpc.org --domain www.bensuperpc.org
--webroot-path=/var/www/jellyfin --domain jellyfin.bensuperpc.org --domain www.jellyfin.bensuperpc.org
--webroot-path=/var/www/wordpress --domain wordpress.bensuperpc.org --domain www.wordpress.bensuperpc.org
volumes:
certbot-cert:
name: certbot-cert