[habits] Adds beaver habits. [oidc] Sets up OIDC auth forwarding, it works, but not sure which header.
This commit is contained in:
18
system/hosts/mcp/containers/havenisms.com/beaver-habits.nix
Normal file
18
system/hosts/mcp/containers/havenisms.com/beaver-habits.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user