36 lines
607 B
YAML
36 lines
607 B
YAML
---
|
|
version: '3.4'
|
|
|
|
services:
|
|
|
|
renew:
|
|
container_name: certbot
|
|
image: ${LETSENCRYPT_IMAGE}
|
|
volumes:
|
|
- ${LETSENCRYPT_MOUNT}:/etc/letsencrypt
|
|
ports:
|
|
- 80:80
|
|
entrypoint:
|
|
- certbot
|
|
- certonly
|
|
- --standalone
|
|
|
|
certificates:
|
|
image: ${LETSENCRYPT_IMAGE}
|
|
volumes:
|
|
- ${LETSENCRYPT_MOUNT}:/etc/letsencrypt
|
|
ports:
|
|
- 80:80
|
|
command:
|
|
- certificates
|
|
# - --standalone
|
|
# - --test-cert
|
|
# - --dryrun
|
|
|
|
test:
|
|
image: ${LETSENCRYPT_IMAGE}
|
|
volumes:
|
|
- ${LETSENCRYPT_MOUNT}:/etc/letsencrypt
|
|
ports:
|
|
- 80:80
|