nixos-configs/devices/nos/modules/arion/media/joal/compose.nix
matt1432 f277c78ac1
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: rename nas to nos
2024-03-01 18:20:32 -05:00

21 lines
456 B
Nix

{config, ...}: let
inherit (config.arion) rwDataDir;
rwPath = rwDataDir + "/media/joal";
in {
arion.projects."joal"."joal" = {
image = ./images/joal.nix;
restart = "always";
volumes = ["${rwPath}/data:/data"];
ports = ["5656:5656"];
command = [
"--joal-conf=/data"
"--spring.main.web-environment=true"
"--server.port=5656"
"--joal.ui.path.prefix=joal"
"--joal.ui.secret-token=12345"
];
};
}