feat(id.tjo.space): changes

This commit is contained in:
Tine 2025-03-07 12:22:24 +01:00
parent ca42ea4422
commit 3a960edad7
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
2 changed files with 4 additions and 1 deletions
id.tjo.space

View file

@ -46,6 +46,7 @@ echo "=== Setup Caddy"
systemctl start caddy
echo "=== Setup Postgresql"
mkdir -p /etc/postgresql
cat <<EOF >/etc/postgresql/secrets.env
POSTGRES_PASSWORD=${POSTGRESQL_PASSWORD}
EOF
@ -55,6 +56,7 @@ echo "=== Setup Redis"
systemctl start redis
echo "=== Setup Authentik Server"
mkdir -p /etc/authentik
cat <<EOF >/etc/authentik/secrets.env
AUTHENTIK_SECRET_KEY=${AUTHENTIK_SECRET_KEY}
AUTHENTIK_EMAIL__PASSWORD=${AUTHENTIK_EMAIL__PASSWORD}
@ -66,6 +68,7 @@ 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

View file

@ -2,7 +2,7 @@
Description=A Postgresql Container
[Container]
Image=docker.io/postgresql:17.4
Image=docker.io/postgres:17.4
Volume=/var/lib/postgresql/data:/srv/postgresql/data
EnvironmentFile=/etc/postgresql/secrets.env
Environment=POSTGRES_USER=id.tjo.space