docker_compose: mount acme.sh
this avoids issuing new certificates everytime the container starts, it triggered my rate limit way too many times also switch to nginxproxy repos, as the old ones where deprecatedmaster
parent
ca8b627cb0
commit
4be02088a0
|
@ -37,7 +37,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||||
- "$CERTS_DIR:/etc/nginx/certs:rw"
|
- "$CERTS_DIR:/etc/nginx/certs:rw"
|
||||||
- "/home/emamaker/acme.sh:/etc/acme.sh"
|
- "$ACME_SH_DIR:/etc/acme.sh"
|
||||||
environment:
|
environment:
|
||||||
- NGINX_DOCKER_GEN_CONTAINER=nginx-gen
|
- NGINX_DOCKER_GEN_CONTAINER=nginx-gen
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Reference in New Issue