migrate gotosocial from aspartame to fructose. changes include: changing database address, adding record to Caddyfile and updating the firewall rules.
Some checks are pending
/ Check formatting (push) Waiting to run

This commit is contained in:
Ittihadyya 2024-12-21 19:03:19 +02:00
parent a4169ccaa9
commit ec6eba2a3c
4 changed files with 24 additions and 21 deletions

View file

@ -1,5 +1,5 @@
{
aspartame.modules = [
fructose.modules = [
(
{
pkgs,
@ -24,16 +24,17 @@
host = "gts.collective-conciousness.monster";
account-domain = "";
protocol = "https";
bind-address = "127.0.0.1";
bind-address = "0.0.0.0";
port = 8080;
trusted-proxies = [
"10.24.1.16/32"
"127.0.0.1/32"
"::1"
];
### Database config - still have to set this up.
db-type = "postgres";
db-address = "10.24.1.9";
db-address = "127.0.0.1";
db-port = "5432";
# db-password = ""; # commented out because it is being passed through env files. # GTS_DB_PASSWORD
db-database = "gtsdb";
@ -84,7 +85,7 @@
### Storage config
storage-backend = "local";
storage-local-base-path = "/var/gts/storage";
storage-local-base-path = "/var/services/gts/storage";
# ommited settings related to s3
### Statuses config