feat(arion): migrate gameyfin
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
875cc683de
commit
860ca121b0
7 changed files with 49 additions and 1 deletions
|
@ -101,7 +101,10 @@ in {
|
||||||
reverseProxy = "${dockerIP}:5055";
|
reverseProxy = "${dockerIP}:5055";
|
||||||
};
|
};
|
||||||
|
|
||||||
games.reverseProxy = "${dockerIP}:8074";
|
gameyfin = {
|
||||||
|
subDomainName = "games";
|
||||||
|
reverseProxy = "${servivi}:8074";
|
||||||
|
};
|
||||||
|
|
||||||
wgui.reverseProxy = "${servivi}:51821";
|
wgui.reverseProxy = "${servivi}:51821";
|
||||||
|
|
||||||
|
|
9
devices/nas/modules/arion/.template/compose.nix
Normal file
9
devices/nas/modules/arion/.template/compose.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{config, ...}: let
|
||||||
|
inherit (config.sops) secrets;
|
||||||
|
inherit (config.arion) rwDataDir;
|
||||||
|
|
||||||
|
rwPath = rwDataDir + "/projectName";
|
||||||
|
in {
|
||||||
|
arion.projects."projectName" = {
|
||||||
|
};
|
||||||
|
}
|
8
devices/nas/modules/arion/.template/images/image.nix
Normal file
8
devices/nas/modules/arion/.template/images/image.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
pkgs:
|
||||||
|
pkgs.dockerTools.pullImage {
|
||||||
|
imageName = "some/image/name";
|
||||||
|
imageDigest = "";
|
||||||
|
sha256 = "";
|
||||||
|
finalImageName = "";
|
||||||
|
finalImageTag = "latest";
|
||||||
|
}
|
|
@ -6,6 +6,7 @@ in {
|
||||||
|
|
||||||
./forgejo/compose.nix
|
./forgejo/compose.nix
|
||||||
./freshrss/compose.nix
|
./freshrss/compose.nix
|
||||||
|
./gameyfin/compose.nix
|
||||||
./hauk/compose.nix
|
./hauk/compose.nix
|
||||||
./homepage/compose.nix
|
./homepage/compose.nix
|
||||||
./immich/compose.nix
|
./immich/compose.nix
|
||||||
|
|
19
devices/nas/modules/arion/gameyfin/compose.nix
Normal file
19
devices/nas/modules/arion/gameyfin/compose.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{config, ...}: let
|
||||||
|
inherit (config.sops) secrets;
|
||||||
|
in {
|
||||||
|
arion.projects."gameyfin"."gameyfin" = {
|
||||||
|
image = ./images/gameyfin.nix;
|
||||||
|
restart = "always";
|
||||||
|
user = "1000:1000";
|
||||||
|
|
||||||
|
env_file = [secrets.gameyfin.path];
|
||||||
|
environment.GAMEYFIN_USER = "mathis";
|
||||||
|
|
||||||
|
volumes = [
|
||||||
|
"/data/games:/opt/gameyfin-library"
|
||||||
|
];
|
||||||
|
|
||||||
|
expose = ["8080"];
|
||||||
|
ports = ["8074:8080"];
|
||||||
|
};
|
||||||
|
}
|
8
devices/nas/modules/arion/gameyfin/images/gameyfin.nix
Normal file
8
devices/nas/modules/arion/gameyfin/images/gameyfin.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
pkgs:
|
||||||
|
pkgs.dockerTools.pullImage {
|
||||||
|
imageName = "grimsi/gameyfin";
|
||||||
|
imageDigest = "sha256:97842e65252e0854ccced478c10a007ee57e7a35c98c3cb26ecce9d0fd5be41c";
|
||||||
|
sha256 = "19gbbaqg4n188piyh3lb54rfwz5xpj6f6fkvpqsbls3v9a4ambjw";
|
||||||
|
finalImageName = "grimsi/gameyfin";
|
||||||
|
finalImageTag = "latest";
|
||||||
|
}
|
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
Loading…
Reference in a new issue