Adding lldap and authelia.

This commit is contained in:
2026-07-08 14:48:54 -07:00
parent e62593bf44
commit b8605f02ab
19 changed files with 595 additions and 28 deletions

View File

@@ -0,0 +1,7 @@
{$dozzle_SUBDOMAIN}.{$ROOT_DOMAIN} {
forward_auth authelia:9091 {
uri /api/authz/forward-auth
copy_headers Remote-User Remote-Groups Remote-Email Remote-Name
}
reverse_proxy http://dozzle:8080
}

View File

@@ -1,5 +0,0 @@
IMAGE_DEPS := $(IMAGE_DEPS) \
app/dozzle/Caddyfile
app/dozzle/Caddyfile: $(apps_config) app/dozzle/make-caddyfile.sh
./app/dozzle/make-caddyfile.sh $(apps_config) > $@

View File

@@ -1,15 +0,0 @@
#/bin/bash
set -e
. $1 # source the apps.config file with then env vars
host_admin_password_encoded=`echo "$HOST_ADMIN_PASSWORD" | docker run --rm -i caddy:2 caddy hash-password`
echo '{$dozzle_SUBDOMAIN}.{$ROOT_DOMAIN} {'
echo " basic_auth {"
echo " $HOST_ADMIN_USER $host_admin_password_encoded"
echo " }"
echo " reverse_proxy http://dozzle:8080"
echo "}"
echo ""