ntfy : auth sur volume

This commit is contained in:
Gitouche 2022-12-10 20:55:47 +01:00
parent 72f410a491
commit 98aafde329

View file

@ -22,6 +22,7 @@ fi
podman run --name ${container_name} \ podman run --name ${container_name} \
-p ${listen_if}:${listen_port}:8080 \ -p ${listen_if}:${listen_port}:8080 \
-e TZ='Europe/Paris' \ -e TZ='Europe/Paris' \
-v ${ntfy_data_volume}:/var/lib/ntfy:Z \
-d ${ntfy_image}:${ntfy_version} serve \ -d ${ntfy_image}:${ntfy_version} serve \
--listen-http :8080 --base-url ${GARBAYE_NTFY_BASE_URL} && --listen-http :8080 --base-url ${GARBAYE_NTFY_BASE_URL} &&
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'INFO Listening on' && ( podman logs -f ${container_name} 2>&1 & ) | grep -q 'INFO Listening on' &&