git-svn-id: svn://losandesgames.com/alfheim-website@41 15359d88-9307-4e75-a9c1-e5686e5897df

This commit is contained in:
Vicente Ferrari Smith 2025-03-26 16:44:02 +00:00
parent 87956a1531
commit afef6f5678

View File

@ -55,13 +55,9 @@ ufw --force enable
apt --yes install fail2ban
apt --yes install certbot
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy
# Add a DSN for connecting to the greenlight database to the system-wide environment
# Add a DSN for connecting to the database to the system-wide environment
# variables in the /etc/environment file.
echo "ALFHEIM_DB_DSN='postgres://elves_database:${DB_PASSWORD}@vicenteferrari.com/elves_database'" >> /etc/environment