diff --git a/entrypoint.sh b/entrypoint.sh index 259625a6..6cbfa470 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,6 +10,10 @@ if [ -z "${SUBSPACE_HTTP_HOST-}" ] ; then exit 1 fi +if [ -z "${NAMESERVER-}" ] ; then + export NAMESERVER="1.1.1.1" +fi + # Optional environment variables. if [ -z "${SUBSPACE_BACKLINK-}" ] ; then export SUBSPACE_BACKLINK="" @@ -27,7 +31,6 @@ if [ -z "${SUBSPACE_HTTP_INSECURE-}" ] ; then export SUBSPACE_HTTP_INSECURE="false" fi -export NAMESERVER="1.1.1.1" export DEBIAN_FRONTEND="noninteractive" # Set DNS server