diff --git a/container/Dockerfile b/container/Dockerfile index cae8d9b9..266b8fba 100644 --- a/container/Dockerfile +++ b/container/Dockerfile @@ -1,7 +1,7 @@ FROM python:3-slim ARG LNDG_PORT=8000 -ARG SUPERVISOR=1 +ARG SUPERVISOR=0 ENV PYTHONUNBUFFERED 1 # Add group abnd user to run rootless diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index c03b9ea1..32f26feb 100755 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -e -LNDG_SUPERVISOR=${LNDG_SUPERVISOR:-1} +LNDG_SUPERVISOR=${LNDG_SUPERVISOR:-0} LNDG_LISTEN=${LNDG_LISTEN:-0.0.0.0} LNDG_PORT=${LNDG_PORT:-8000} diff --git a/scripts/init.sh b/scripts/init.sh index b4052f87..85f70582 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -2,7 +2,7 @@ # This init script runs when the container start, as rootless -LNDG_SUPERVISOR=${LNDG_SUPERVISOR:-1} +LNDG_SUPERVISOR=${LNDG_SUPERVISOR:-0} LNDG_NETWORK=${LNDG_NETWORK:-mainnet} LNDG_SERVER=${LNDG_SERVER:-localhost:10009} diff --git a/scripts/suinit.sh b/scripts/suinit.sh index 29ce0d41..f8154349 100755 --- a/scripts/suinit.sh +++ b/scripts/suinit.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -LNDG_SUPERVISOR=${LNDG_SUPERVISOR:-1} +LNDG_SUPERVISOR=${LNDG_SUPERVISOR:-0} # This init script runs when the image is created, as root touch /var/log/supervisord.log