TODO: change api.conf URL references to use environment variables and add these variables to the docker-compose configuration for host domain
9 lines
399 B
Plaintext
9 lines
399 B
Plaintext
# DRY RUN - ensure certificates CAN be created
|
|
docker compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ --dry-run -d example.org
|
|
|
|
# PROD RUN - generate certificates for the provided site
|
|
docker compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ -d example.org
|
|
|
|
|
|
# RENEW CERTIFICATES - run every 3 months
|
|
docker compose run --rm certbot renew |