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 deprecated
master
EmaMaker 2022-01-09 15:55:12 +00:00
parent ca8b627cb0
commit 4be02088a0
1 changed files with 1 additions and 1 deletions

View File

@ -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: