-
Couldn't load subscription status.
- Fork 89
Description
Hi,
I'd like to use DNSrobocert with nginx-proxy. I am successfully (with a few hacks) running dnsrobocert (as long as the container doesn't die).
Please can you tell me how to get the certs working properly with nginx-proxy as I'm not sure how the certbot subdirectories etc interact with it. I'm currently requesting DNS based letsencrypt certs for two subdomains eg. bt.lab.fred.co.uk and rt.lab.fred.co.uk
Thanks, and sorry for the vague question.
nginx-proxy:
image: nginxproxy/nginx-proxy
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./volumes/letsencrypt:/etc/nginx/certs
dnsrobocert:
image: adferrand/dnsrobocert
container_name: dnsrobocert
volumes:
- ./volumes/letsencrypt:/etc/letsencrypt
- ./volumes/dnsrobocert:/etc/dnsrobocert
environment:
- VERSION=latest
restart: always
networks:
main: