forest/roles/iceshrimp.nix

24 lines
556 B
Nix
Raw Permalink Normal View History

{ config, pkgs, ... }: {
services.redis.servers.iceshrimp = {
enable = true;
port = 6380;
2024-07-07 23:11:06 +00:00
bind = "0.0.0.0";
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"
];
};
}