feat(amy): migrate iceshrimp
This commit is contained in:
parent
6507c65c13
commit
7d94b40165
3 changed files with 16 additions and 2 deletions
|
@ -43,6 +43,7 @@
|
||||||
interface = "ens18";
|
interface = "ens18";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
services.resolved.enable = true;
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,5 +6,18 @@
|
||||||
settings.protected-mode = "no";
|
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"
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
# ipv4
|
# ipv4
|
||||||
host all all 127.0.0.1/32 scram-sha-256
|
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 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
|
# ipv6
|
||||||
host all all ::1/128 scram-sha-256
|
host all all ::1/128 scram-sha-256
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue