1

Services: Restructure f10, f11, heidi

This commit is contained in:
2025-07-11 19:56:36 +02:00
parent f014766c9c
commit 60485ec9e9
3 changed files with 102 additions and 89 deletions

View File

@ -3,29 +3,33 @@
lib,
pkgs,
...
}: {
virtualisation.oci-containers.containers.formula10 = {
image = "gitea.vps.chriphost.de/christoph/formula10:latest";
autoStart = true;
}: let
f10Version = "latest";
in {
virtualisation.oci-containers.containers = {
formula10 = {
image = "gitea.vps.chriphost.de/christoph/formula10:${f10Version}";
autoStart = true;
dependsOn = [];
dependsOn = [];
ports = [
"55555:5000"
];
ports = [
"55555:5000"
];
volumes = [
"formula10_data:/app/instance"
"formula10_cache:/cache"
];
volumes = [
"formula10_data:/app/instance"
"formula10_cache:/cache"
];
environment = {
TZ = "Europe/Berlin";
environment = {
TZ = "Europe/Berlin";
};
extraOptions = [
"--init" # Make an init process take up PID 1, to make python receive the SIGTERM
"--net=behind-nginx"
];
};
extraOptions = [
"--init" # Make an init process take up PID 1, to make python receive the SIGTERM
"--net=behind-nginx"
];
};
}