aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/cms/config/teabag.env
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-02-27 18:42:38 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-02-27 18:42:38 +0100
commit4ef04f7971e6785a7407e41de41c55fe6a87cfc4 (patch)
treed3ba83c1dd1e4e1fba9e9157623a4652e3c601d4 /cluster/prod/app/cms/config/teabag.env
parenta4eb0b2b56fdbe416077fdc77b76cd9efe98814d (diff)
downloadnixcfg-4ef04f7971e6785a7407e41de41c55fe6a87cfc4.tar.gz
nixcfg-4ef04f7971e6785a7407e41de41c55fe6a87cfc4.zip
add teabag (for static cms)
Diffstat (limited to 'cluster/prod/app/cms/config/teabag.env')
-rw-r--r--cluster/prod/app/cms/config/teabag.env11
1 files changed, 11 insertions, 0 deletions
diff --git a/cluster/prod/app/cms/config/teabag.env b/cluster/prod/app/cms/config/teabag.env
new file mode 100644
index 0000000..1f499f4
--- /dev/null
+++ b/cluster/prod/app/cms/config/teabag.env
@@ -0,0 +1,11 @@
+HOST=0.0.0.0
+PORT={{ env "NOMAD_PORT_web_port" }}
+SESSION_SECRET={{ key "secrets/cms/teabag/session" | trimSpace }}
+
+GITEA_KEY={{ key "secrets/cms/teabag/gitea_key" | trimSpace }}
+GITEA_SECRET={{ key "secrets/cms/teabag/gitea_secret" | trimSpace }}
+GITEA_BASE_URL=http://git.deuxfleurs.fr
+GITEA_AUTH_URI=login/oauth/authorize
+GITEA_TOKEN_URI=login/oauth/access_token
+GITEA_USER_URI=api/v1/user
+CALLBACK_URI=http://teabag.deuxfleurs.fr/callback