feat(id.tjo.space): changes
This commit is contained in:
parent
ca42ea4422
commit
3a960edad7
2 changed files with 4 additions and 1 deletions
id.tjo.space
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue