nixos-configs/devices/nos/modules/docker/gameyfin/compose.nix
matt1432 59d2205e7a
All checks were successful
Discord / discord commits (push) Has been skipped
fix(docker): add required changes to make every container work
2024-07-24 20:52:32 -04:00

28 lines
551 B
Nix

{
config,
pkgs,
...
}: let
inherit (config.sops) secrets;
in {
khepri.compositions."gameyfin" = {
networks.proxy_net = {external = true;};
services."gameyfin" = {
image = import ./images/gameyfin.nix pkgs;
restart = "always";
user = "1000:1000";
environmentFiles = [secrets.gameyfin.path];
environment.GAMEYFIN_USER = "mathis";
volumes = [
"/data/games:/opt/gameyfin-library"
];
expose = ["8080"];
ports = ["8074:8080"];
networks = ["proxy_net"];
};
};
}