From aca81a1baff8924c9c886d6739aa1c12de3d43f8 Mon Sep 17 00:00:00 2001 From: SquidSpirit Date: Sun, 12 Oct 2025 03:47:47 +0800 Subject: [PATCH] feat: add example environment configuration file --- backend/.env.example | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 backend/.env.example diff --git a/backend/.env.example b/backend/.env.example new file mode 100644 index 0000000..6896990 --- /dev/null +++ b/backend/.env.example @@ -0,0 +1,18 @@ +HOST=127.0.0.1 +PORT=8080 + +DATABASE_HOST=127.0.0.1 +DATABASE_PORT=5432 +DATABASE_USER=postgres +DATABASE_PASSWORD= +DATABASE_NAME=postgres + +OIDC_ISSUER_URL=https://xxx +OIDC_CLIENT_ID=xxx +OIDC_CLIENT_SECRET=xxx +OIDC_REDIRECT_URL=http://localhost:8080/auth/callback + +SESSION_KEY='openssl rand -hex 16' +REDIS_URL=redis://127.0.0.1:6379 + +STORAGE_PATH=static