authentik initial
This commit is contained in:
1
env/env.local.gomplate
vendored
1
env/env.local.gomplate
vendored
@@ -8,3 +8,4 @@ CLOUDFLARE_API_TOKEN={{ .Env.CLOUDFLARE_API_TOKEN}}
|
||||
ACME_EMAIL={{ .Env.ACME_EMAIL}}
|
||||
EXTERNAL_DOMAIN={{ .Env.EXTERNAL_DOMAIN }}
|
||||
VAULT_HOST={{ .Env.VAULT_HOST }}
|
||||
AUTHENTIK_HOST={{ .Env.AUTHENTIK_HOST }}
|
||||
9
env/justfile
vendored
9
env/justfile
vendored
@@ -129,6 +129,15 @@ setup:
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
while [ -z "${AUTHENTIK_HOST}" ]; do
|
||||
if ! AUTHENTIK_HOST=$(
|
||||
gum input --prompt="Authentik hostname: " \
|
||||
--width=100 --placeholder="authentik"
|
||||
); then
|
||||
echo "Setup cancelled." >&2
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
echo "Generating .env.local file..."
|
||||
rm -f ../.env.local
|
||||
|
||||
Reference in New Issue
Block a user