docker-nginx-certbot
docker-nginx-certbot copied to clipboard
Mount nginx_secrets volume on host with directory binding
Adds the option to mount the nginx_secrets volume on the host
Isn't it just easier to change the
volumes:
- nginx_secrets:/etc/letsencrypt
to
volumes:
- ./nginx_secrets:/etc/letsencrypt
if you are interested in making this a bind mount instead?
The current nginx_secrets
volume mount is just an example in case you want to use that instead of bind mounting it. Or am I missing something here?
Example file now updated with explanation of difference between the two mount types: https://github.com/JonasAlfredsson/docker-nginx-certbot/commit/77ea6ad00cc0d0741339a7ebe76cf0cccb0130d3