1

Services: Add dockerhub credentials

This commit is contained in:
2025-07-09 13:58:47 +02:00
parent 697bb0dd8b
commit 1b3380aa41
16 changed files with 244 additions and 28 deletions

View File

@ -8,6 +8,15 @@
image = "TEMPLATE"; image = "TEMPLATE";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = []; dependsOn = [];
ports = []; ports = [];

View File

@ -8,6 +8,15 @@
image = "adguard/adguardhome"; image = "adguard/adguardhome";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = []; dependsOn = [];
ports = [ ports = [

View File

@ -8,6 +8,15 @@
image = "authelia/authelia:latest"; image = "authelia/authelia:latest";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = [ dependsOn = [
# "pihole" # "pihole"
]; ];

View File

@ -8,6 +8,15 @@
image = "gitea.vps.chriphost.de/christoph/formula10:latest"; image = "gitea.vps.chriphost.de/christoph/formula10:latest";
autoStart = true; autoStart = true;
# login = {
# # Uses DockerHub by default
# # registry = "";
#
# # DockerHub Credentials
# username = "christoph.urlacher@protonmail.com";
# passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
# };
dependsOn = []; dependsOn = [];
ports = [ ports = [

View File

@ -8,6 +8,15 @@
image = "gitea.vps.chriphost.de/christoph/pocketbase:0.25.0"; image = "gitea.vps.chriphost.de/christoph/pocketbase:0.25.0";
autoStart = true; autoStart = true;
# login = {
# # Uses DockerHub by default
# # registry = "";
#
# # DockerHub Credentials
# username = "christoph.urlacher@protonmail.com";
# passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
# };
dependsOn = [ dependsOn = [
# "pihole" # "pihole"
]; ];
@ -32,6 +41,15 @@
image = "gitea.vps.chriphost.de/christoph/formula11:latest"; image = "gitea.vps.chriphost.de/christoph/formula11:latest";
autoStart = true; autoStart = true;
# login = {
# # Uses DockerHub by default
# # registry = "";
#
# # DockerHub Credentials
# username = "christoph.urlacher@protonmail.com";
# passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
# };
dependsOn = [ dependsOn = [
"formula11_pocketbase" "formula11_pocketbase"
]; ];
@ -51,10 +69,10 @@
# PB_PROTOCOL="https"; # PB_PROTOCOL="https";
# PB_URL="f11pb.vps.chriphost.de"; # PB_URL="f11pb.vps.chriphost.de";
PUBLIC_PBURL="https://f11pb.vps.chriphost.de"; PUBLIC_PBURL = "https://f11pb.vps.chriphost.de";
# Required by SvelteKit to prevent cross-site POST errors # Required by SvelteKit to prevent cross-site POST errors
ORIGIN="https://f11.vps.chriphost.de"; ORIGIN = "https://f11.vps.chriphost.de";
}; };
extraOptions = [ extraOptions = [

View File

@ -8,6 +8,15 @@
image = "gitea/act_runner:latest"; # NOTE: vegardit has other runner images image = "gitea/act_runner:latest"; # NOTE: vegardit has other runner images
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = []; dependsOn = [];
ports = []; ports = [];

View File

@ -23,6 +23,15 @@
image = "postgres:14"; image = "postgres:14";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = []; dependsOn = [];
ports = []; ports = [];
@ -46,6 +55,15 @@
image = "gitea/gitea:latest"; image = "gitea/gitea:latest";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = [ dependsOn = [
"gitea-db" "gitea-db"
]; ];

View File

@ -8,6 +8,15 @@
image = "gitea.vps.chriphost.de/christoph/discord-heidi:latest"; image = "gitea.vps.chriphost.de/christoph/discord-heidi:latest";
autoStart = true; autoStart = true;
# login = {
# # Uses DockerHub by default
# # registry = "";
#
# # DockerHub Credentials
# username = "christoph.urlacher@protonmail.com";
# passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
# };
dependsOn = []; dependsOn = [];
ports = []; ports = [];

View File

@ -8,6 +8,15 @@
image = "ghcr.io/immich-app/postgres:15-vectorchord0.3.0-pgvectors0.2.0"; image = "ghcr.io/immich-app/postgres:15-vectorchord0.3.0-pgvectors0.2.0";
autoStart = true; autoStart = true;
# login = {
# # Uses DockerHub by default
# # registry = "";
#
# # DockerHub Credentials
# username = "christoph.urlacher@protonmail.com";
# passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
# };
dependsOn = []; dependsOn = [];
ports = [ ports = [
@ -33,6 +42,15 @@
image = "redis"; image = "redis";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = []; dependsOn = [];
ports = [ ports = [
@ -52,6 +70,15 @@
image = "ghcr.io/imagegenius/immich:latest"; image = "ghcr.io/imagegenius/immich:latest";
autoStart = true; autoStart = true;
# login = {
# # Uses DockerHub by default
# # registry = "";
#
# # DockerHub Credentials
# username = "christoph.urlacher@protonmail.com";
# passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
# };
dependsOn = [ dependsOn = [
"immich-database" "immich-database"
"immich-redis" "immich-redis"

View File

@ -8,6 +8,15 @@
image = "linuxserver/jellyfin:latest"; image = "linuxserver/jellyfin:latest";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = [ dependsOn = [
# "pihole" # "pihole"
]; ];

View File

@ -8,6 +8,15 @@
image = "kopia/kopia:latest"; image = "kopia/kopia:latest";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = []; dependsOn = [];
ports = [ ports = [

View File

@ -4,10 +4,41 @@
pkgs, pkgs,
... ...
}: { }: {
systemd.services.nextcloud-cron = {
enable = true;
description = "Nextcloud Cron Job";
serviceConfig = {
ExecStart = "${pkgs.docker}/bin/docker exec -u www-data nextcloud /usr/local/bin/php -f /var/www/html/cron.php";
};
};
systemd.timers.nextcloud-cron = {
enable = true;
description = "Nextcloud Cron Job";
timerConfig = {
OnBootSec = "5min";
OnUnitActiveSec = "5min";
Unit = "nextcloud-cron.service";
};
wantedBy = ["timers.target"];
};
virtualisation.oci-containers.containers.nextcloud-db = { virtualisation.oci-containers.containers.nextcloud-db = {
image = "postgres:alpine"; image = "postgres:alpine";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = []; dependsOn = [];
ports = [ ports = [
@ -33,6 +64,15 @@
image = "redis:alpine"; image = "redis:alpine";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = []; dependsOn = [];
ports = [ ports = [
@ -54,6 +94,15 @@
image = "nextcloud:apache"; image = "nextcloud:apache";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = [ dependsOn = [
"nextcloud-db" "nextcloud-db"
"nextcloud-memcache" "nextcloud-memcache"
@ -101,26 +150,4 @@
"--net=behind-nginx" "--net=behind-nginx"
]; ];
}; };
systemd.services.nextcloud-cron = {
enable = true;
description = "Nextcloud Cron Job";
serviceConfig = {
ExecStart = "${pkgs.docker}/bin/docker exec -u www-data nextcloud /usr/local/bin/php -f /var/www/html/cron.php";
};
};
systemd.timers.nextcloud-cron = {
enable = true;
description = "Nextcloud Cron Job";
timerConfig = {
OnBootSec = "5min";
OnUnitActiveSec = "5min";
Unit = "nextcloud-cron.service";
};
wantedBy = ["timers.target"];
};
} }

View File

@ -8,6 +8,15 @@
image = "jc21/nginx-proxy-manager:latest"; image = "jc21/nginx-proxy-manager:latest";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = [ dependsOn = [
# "pihole" # "pihole"
]; ];

View File

@ -5,9 +5,18 @@
... ...
}: { }: {
virtualisation.oci-containers.containers.paperless-redis = { virtualisation.oci-containers.containers.paperless-redis = {
image = "docker.io/library/redis:7"; image = "redis:7";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = []; dependsOn = [];
ports = []; ports = [];
@ -24,9 +33,18 @@
}; };
virtualisation.oci-containers.containers.paperless-postgres = { virtualisation.oci-containers.containers.paperless-postgres = {
image = "docker.io/library/postgres:15"; image = "postgres:15";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = []; dependsOn = [];
ports = []; ports = [];
@ -50,6 +68,15 @@
image = "ghcr.io/paperless-ngx/paperless-ngx:latest"; image = "ghcr.io/paperless-ngx/paperless-ngx:latest";
autoStart = true; autoStart = true;
# login = {
# # Uses DockerHub by default
# # registry = "";
#
# # DockerHub Credentials
# username = "christoph.urlacher@protonmail.com";
# passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
# };
dependsOn = [ dependsOn = [
"paperless-redis" "paperless-redis"
"paperless-postgres" "paperless-postgres"

View File

@ -32,6 +32,15 @@
image = "portainer/agent:latest"; image = "portainer/agent:latest";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = []; dependsOn = [];
ports = [ ports = [

View File

@ -8,6 +8,15 @@
image = "getwud/wud:latest"; image = "getwud/wud:latest";
autoStart = true; autoStart = true;
login = {
# Uses DockerHub by default
# registry = "";
# DockerHub Credentials
username = "christoph.urlacher@protonmail.com";
passwordFile = "${config.age.secrets.dockerhub-pasword.path}";
};
dependsOn = [ dependsOn = [
# "pihole" # "pihole"
]; ];