add standalone and webroot methods
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-07-09 21:53:06 +00:00
parent e0da513893
commit 36b71a0ebb
5 changed files with 255 additions and 88 deletions

View File

@@ -15,18 +15,14 @@ echo ""
echo "Initialising container"
echo "
----------------------------------------------------------------------
ENVIRONMENT
ENVIRONMENT (only core variables shown)
----------------------------------------------------------------------
PUID=${PUID}
PGID=${PGID}
TZ=${TZ}
DOMAINS=${DOMAINS}
EMAIL=${EMAIL}
INTERVAL=${INTERVAL}
STAGING=${STAGING}
PROPOGATION_TIME=${PROPOGATION_TIME}
GENERATE_DHPARAM=${GENERATE_DHPARAM}
CLOUDFLARE_TOKEN=${CLOUDFLARE_TOKEN}
CERT_COUNT=${CERT_COUNT}
----------------------------------------------------------------------
"
@@ -41,7 +37,7 @@ if [[ ! "${PUID}" -eq 0 ]] && [[ ! "${PGID}" -eq 0 ]]; then
groupmod -o -g "${PGID}" mrmeeb
else
echo "Running as root is not supported, please fix your PUID and PGID!"
exit 1
sleep infinity
fi
echo "Checking permissions in /config and /app."