1
0
Fork 0

Raise back docker-gen debounce a bit

This commit is contained in:
Nicolas Duchon 2020-12-07 00:57:22 +01:00
parent 3d0cd89668
commit 73b7186d6d
No known key found for this signature in database
GPG Key ID: EA3151C66A4D79E7
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@ trap 'term_handler' INT QUIT TERM
/app/letsencrypt_service &
letsencrypt_service_pid=$!
wait_default="500ms:2s"
wait_default="5s:20s"
DOCKER_GEN_WAIT="${DOCKER_GEN_WAIT:-$wait_default}"
docker-gen -watch -notify '/app/signal_le_service' -wait "$DOCKER_GEN_WAIT" /app/letsencrypt_service_data.tmpl /app/letsencrypt_service_data &
docker_gen_pid=$!

View File

@ -28,6 +28,7 @@ function run_le_container {
--volumes-from "$NGINX_CONTAINER_NAME" \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
"${cli_args_arr[@]}" \
--env "DOCKER_GEN_WAIT=500ms:2s" \
--env "TEST_MODE=true" \
--env "DHPARAM_BITS=256" \
--env "DEBUG=1" \