feat(amy): migrate iceshrimp

This commit is contained in:
Ashhhleyyy 2024-11-20 23:58:56 +00:00
parent 6507c65c13
commit 7d94b40165
Signed by: ash
GPG key ID: 83B789081A0878FB
3 changed files with 16 additions and 2 deletions

View file

@ -43,6 +43,7 @@
interface = "ens18";
};
};
services.resolved.enable = true;
system.stateVersion = "23.11";
}

View file

@ -6,5 +6,18 @@
settings.protected-mode = "no";
};
# TODO: move rest of iceshrimp to amy
virtualisation.oci-containers.containers.iceshrimp = {
image = "git.ashhhleyyy.dev/shorks-gay/iceshrimp:2023.12.11.shorks1";
autoStart = false;
environment = {
NODE_ENV = "production";
};
ports = [
"3000:3000"
];
volumes = [
"/home/ash/shorks-gay/files:/iceshrimp/files"
"/home/ash/shorks-gay/.config:/iceshrimp/.config:ro"
];
};
}

View file

@ -31,7 +31,7 @@
# ipv4
host all all 127.0.0.1/32 scram-sha-256
host all all 100.64.0.0/10 scram-sha-256
host all all 10.0.0.0/8 scram-sha-256
host all all 0.0.0.0/0 scram-sha-256
# ipv6
host all all ::1/128 scram-sha-256
'';