feat(id.tjo.space): changes
This commit is contained in:
parent
23438dda36
commit
e03d3c6255
8 changed files with 5 additions and 22 deletions
|
@ -70,10 +70,3 @@ systemctl start authentik-server
|
|||
|
||||
echo "=== Setup Authentik Worker"
|
||||
systemctl start authentik-worker
|
||||
|
||||
echo "=== Setup Authentik LDAP"
|
||||
mkdir -p /etc/authentik
|
||||
cat <<EOF >/etc/authentik/ldap.secrets.env
|
||||
AUTHENTIK_TOKEN=${AUTHENTIK_LDAP_TOKEN}
|
||||
EOF
|
||||
systemctl start authentik-ldap
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
[Unit]
|
||||
Description=An Authentik LDAP Server
|
||||
|
||||
[Container]
|
||||
Image=ghcr.io/goauthentik/ldap:2025.2.1
|
||||
Environment=AUTHENTIK_HOST=https://next.id.tjo.space
|
||||
Environment=AUTHENTIK_INSECURE=false
|
||||
EnvironmentFile=/etc/authentik/ldap.secrets.env
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
After=authentik-server.service
|
|
@ -7,6 +7,7 @@ EnvironmentFile=/etc/authentik/authentik.env
|
|||
EnvironmentFile=/etc/authentik/secrets.env
|
||||
Volume=/srv/authentik/media:/media
|
||||
Volume=/srv/authentik/custom-templates:/custom-templates
|
||||
Network=main.network
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
@ -9,6 +9,7 @@ EnvironmentFile=/etc/authentik/secrets.env
|
|||
Volume=/srv/authentik/media:/media
|
||||
Volume=/srv/authentik/certs:/certs
|
||||
Volume=/srv/authentik/custom-templates:/custom-templates
|
||||
Network=main.network
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
@ -6,6 +6,7 @@ Image=docker.io/caddy:2.9
|
|||
PublishPort=443:443
|
||||
PublishPort=80:80
|
||||
Volume=/etc/caddy:/etc/caddy:ro
|
||||
Network=main.network
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
@ -7,6 +7,7 @@ Volume=/srv/postgresql/data:/var/lib/postgresql/data
|
|||
EnvironmentFile=/etc/postgresql/secrets.env
|
||||
Environment=POSTGRES_USER=id.tjo.space
|
||||
Environment=POSTGRES_DB=id.tjo.space
|
||||
Network=main.network
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
@ -3,6 +3,7 @@ Description=A Valkey Container
|
|||
|
||||
[Container]
|
||||
Image=docker.io/valkey/valkey:8
|
||||
Network=main.network
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue