deploy grist
Some checks failed
Lint / lint (push) Failing after 1m22s
Plex Update / update (push) Successful in 1m36s

This commit is contained in:
Vivian 2023-11-12 15:07:41 +01:00
parent 76f35ef704
commit 4e5ef010d4
13 changed files with 66 additions and 229 deletions

View file

@ -23,6 +23,8 @@ in {
networking.firewall.allowedTCPPorts = [ port metricsPort ];
vault-secrets.secrets.dex = { };
vault-secrets.secrets.oauth2_proxy = { };
services = {
postgresql = {
@ -91,24 +93,15 @@ in {
secretEnv = "FLUX_CLIENT_SECRET";
}
{
id = "oauth2-proxy";
name = "OAuth2 Proxy";
redirectURIs = [ "https://o2p.0x76.dev/oauth2/callback" ];
secretEnv = "O2P_CLIENT_SECRET";
id = "grist";
name = "grist";
redirectURIs = [ "https://grist.0x76.dev/oauth2/callback" ];
secretEnv = "GRIST_CLIENT_SECRET";
}
];
};
environmentFile = "${vs.dex}/environment";
};
oauth2_proxy = {
enable = true;
provider = "oidc";
redirectURL = "https://o2p.0x76.dev/oauth2/callback";
cookie.secure = false;
httpAddress = "0.0.0.0:4180";
keyFile = "";
};
};
}