feat(id.tjo.space): changes
This commit is contained in:
parent
90347fd02c
commit
690fae2bf4
4 changed files with 7 additions and 1 deletions
id.tjo.space
|
@ -29,7 +29,7 @@ ufw allow 22/tcp # SSH
|
|||
ufw allow 80/tcp # HTTP
|
||||
ufw allow 443/tcp # HTTPS
|
||||
|
||||
ufw --force enable
|
||||
#ufw --force enable
|
||||
|
||||
echo "=== Copy Configuration Files"
|
||||
rsync -a id.tjo.space/containers/ /etc/containers/systemd/
|
||||
|
@ -42,7 +42,10 @@ set -a && source id.tjo.space/secrets.env && set +a
|
|||
|
||||
echo "=== Prepare srv directories"
|
||||
mkdir -p /srv/authentik/{media,certs,custom-templates}
|
||||
chown -R 1200:1200 /srv/authentik
|
||||
|
||||
mkdir -p /srv/postgresql/data
|
||||
chown -R 1100:1100 /srv/postgresql
|
||||
|
||||
echo "=== Setup Caddy"
|
||||
systemctl restart caddy
|
||||
|
|
|
@ -9,6 +9,7 @@ EnvironmentFile=/etc/authentik/secrets.env
|
|||
Volume=/srv/authentik/media:/media
|
||||
Volume=/srv/authentik/custom-templates:/custom-templates
|
||||
Network=main.network
|
||||
User=1200
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
@ -10,6 +10,7 @@ Volume=/srv/authentik/media:/media
|
|||
Volume=/srv/authentik/certs:/certs
|
||||
Volume=/srv/authentik/custom-templates:/custom-templates
|
||||
Network=main.network
|
||||
User=1200
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
@ -8,6 +8,7 @@ EnvironmentFile=/etc/postgresql/secrets.env
|
|||
Environment=POSTGRES_USER=id.tjo.space
|
||||
Environment=POSTGRES_DB=id.tjo.space
|
||||
Network=main.network
|
||||
User=1100
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
Loading…
Reference in a new issue