[habits] Adds beaver habits. [oidc] Sets up OIDC auth forwarding, it works, but not sure which header.

This commit is contained in:
2025-07-25 12:22:33 -07:00
parent b3c6e951ee
commit 19d8c5c097
7 changed files with 59 additions and 5 deletions

View File

@@ -0,0 +1,18 @@
{ ... }:
{
virtualisation.web-containers.containers.beaver-habits = {
hostname = "habits";
domain = "havenisms.com";
image = "daya0576/beaverhabits:latest";
port = 8080;
oauthProxy = true;
volumes = [
"/tank/beaver-habits:/app/.user/"
];
environment = {
HABITS_STORAGE = "DATABASE";
INDEX_HABIT_DATE_COLUMNS = "7";
TRUSTED_EMAIL_HEADER = "X-Oidc-Email";
};
};
}