mirror of
https://git.sr.ht/~goorzhel/turboprop
synced 2024-12-14 11:37:37 +00:00
Add more services
This commit is contained in:
parent
006be8401f
commit
a4d0c01066
5 changed files with 62 additions and 3 deletions
|
@ -29,9 +29,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultPodOptions = {
|
defaultPodOptions.nodeSelector."kubernetes.io/hostname" = "losangeles";
|
||||||
nodeSelector."kubernetes.io/hostname" = "losangeles";
|
|
||||||
};
|
|
||||||
|
|
||||||
persistence = {
|
persistence = {
|
||||||
config = {
|
config = {
|
||||||
|
|
17
releases/svc/nextcloud/default.nix
Normal file
17
releases/svc/nextcloud/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{lib, ...}: {
|
||||||
|
builder = lib.eureka.appTemplate;
|
||||||
|
args = {
|
||||||
|
mainImage = "nextcloud:27.0.0";
|
||||||
|
httpPort = 80;
|
||||||
|
|
||||||
|
extraValues = {
|
||||||
|
controllers.main.type = "statefulset";
|
||||||
|
persistence.data = {
|
||||||
|
type = "hostPath";
|
||||||
|
hostPath = "/zpool/svc/nextcloud";
|
||||||
|
mountPath = "/var/www/html";
|
||||||
|
};
|
||||||
|
defaultPodOptions.nodeSelector."kubernetes.io/hostname" = "losangeles";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
12
releases/svc/registry-ui/default.nix
Normal file
12
releases/svc/registry-ui/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{lib, ...}: {
|
||||||
|
builder = lib.eureka.appTemplate;
|
||||||
|
args = {
|
||||||
|
mainImage = "joxit/docker-registry-ui:2.5.2";
|
||||||
|
httpPort = 80;
|
||||||
|
extraValues.controllers.main.containers.main.env = {
|
||||||
|
NGINX_PROXY_PASS_URL = "http://registry-private.svc.svc:5000";
|
||||||
|
REGISTRY_TITLE = "Eureka";
|
||||||
|
SINGLE_REGISTRY = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
20
releases/svc/syncthing/default.nix
Normal file
20
releases/svc/syncthing/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{lib, ...}: {
|
||||||
|
builder = lib.eureka.appTemplate;
|
||||||
|
args = {
|
||||||
|
mainImage = "lscr.io/linuxserver/syncthing:1.23.4";
|
||||||
|
httpPort = 8384;
|
||||||
|
|
||||||
|
extraValues = {
|
||||||
|
controllers.main.type = "statefulset";
|
||||||
|
controllers.main.containers.main.env = with lib.eureka.vars; {
|
||||||
|
PGID = usersGroup;
|
||||||
|
PUID = nfsID;
|
||||||
|
TZ = timeZone;
|
||||||
|
};
|
||||||
|
persistence = {
|
||||||
|
config = lib.app-template.mkExistingClaim "svc" "syncthing/config";
|
||||||
|
data = lib.app-template.mkExistingClaim "svc" "syncthing/data";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
12
releases/svc/vaultwarden/default.nix
Normal file
12
releases/svc/vaultwarden/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{lib, ...}: {
|
||||||
|
builder = lib.eureka.appTemplate;
|
||||||
|
args = {
|
||||||
|
mainImage = "vaultwarden/server:1.29.1";
|
||||||
|
httpPort = 80;
|
||||||
|
|
||||||
|
extraValues = {
|
||||||
|
controllers.main.type = "statefulset";
|
||||||
|
persistence.data = lib.app-template.mkExistingClaim "svc" "vaultwarden";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue