Nico Huber | 15edd77 | 2023-07-01 18:16:50 +0000 | [diff] [blame^] | 1 | version: "3" |
| 2 | name: sourcearcade-certbot |
| 3 | services: |
| 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 |