46 lines
748 B
YAML
46 lines
748 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
|
|
networks:
|
|
- prod_tasks:
|
|
|
|
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
|
|
|
|
networks:
|
|
prod_ui:
|
|
external:
|
|
name: prod_ui
|
|
prod_tasks:
|
|
external:
|
|
name: prod_tasks
|