This is a docker compose file to create a certbot container and issue a new cert using letsencrypt
services:
certbot:
image: certbot/certbot
container_name: certbot
volumes:
- ./certbot/conf:/etc/letsencrypt
- ./certbot/logs:/var/log/letsencrypt
ports:
- "80:80"
command: certonly --standalone -d yourdomain.com --email your@email.com --agree-tos --no-eff-email
Комментариев нет:
Отправить комментарий