1
0
Fork 0
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:
Antonio Gurgel 2023-11-23 12:15:18 -08:00
parent 006be8401f
commit a4d0c01066
5 changed files with 62 additions and 3 deletions

View file

@ -29,9 +29,7 @@ in {
};
};
defaultPodOptions = {
nodeSelector."kubernetes.io/hostname" = "losangeles";
};
defaultPodOptions.nodeSelector."kubernetes.io/hostname" = "losangeles";
persistence = {
config = {

View 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";
};
};
}

View 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;
};
};
}

View 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";
};
};
};
}

View 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";
};
};
}