2024-06-28 14:36:51 +00:00
|
|
|
{ config, pkgs, ... }: {
|
|
|
|
services.redis.servers.iceshrimp = {
|
|
|
|
enable = true;
|
|
|
|
port = 6380;
|
2024-07-07 23:11:06 +00:00
|
|
|
bind = "0.0.0.0";
|
2024-06-28 14:36:51 +00:00
|
|
|
settings.protected-mode = "no";
|
|
|
|
};
|
|
|
|
|
2024-11-20 23:58:56 +00:00
|
|
|
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"
|
|
|
|
];
|
|
|
|
};
|
2024-06-28 14:36:51 +00:00
|
|
|
}
|