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

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