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 53 additions and 5 deletions
|
@ -101,7 +101,10 @@ in {
|
|||
reverseProxy = "${dockerIP}:5055";
|
||||
};
|
||||
|
||||
games.reverseProxy = "${dockerIP}:8074";
|
||||
gameyfin = {
|
||||
subDomainName = "games";
|
||||
reverseProxy = "${servivi}:8074";
|
||||
};
|
||||
|
||||
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
|
||||
./freshrss/compose.nix
|
||||
./gameyfin/compose.nix
|
||||
./hauk/compose.nix
|
||||
./homepage/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";
|
||||
}
|
|
@ -1342,11 +1342,11 @@
|
|||
"sops-nix": "sops-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1709143835,
|
||||
"narHash": "sha256-75Ww7bpWFdKyYxTiSd2zO8FX6T5FxfAAwuyOf6PgkWs=",
|
||||
"lastModified": 1709155444,
|
||||
"narHash": "sha256-bdKOhfSskioOc/p9CkT7POkbP9aauCAFgAPO7JxKJO4=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "38fcf652c0fb0c441cd0fff092772f547be7c42d",
|
||||
"revCount": 48,
|
||||
"rev": "6d61a2cfc9ef021f9ad5cde38ea94659340afe77",
|
||||
"revCount": 49,
|
||||
"type": "git",
|
||||
"url": "ssh://git@git.nelim.org/matt1432/nixos-secrets"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue