2024-02-28 22:22:14 -05:00
|
|
|
{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"];
|
2024-03-19 20:40:45 -04:00
|
|
|
extra_hosts = ["lan.nelim.org=10.0.0.130"];
|
2024-02-28 22:22:14 -05:00
|
|
|
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"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|