feat: add example environment configuration file
All checks were successful
Frontend CI / build (push) Successful in 1m20s

This commit is contained in:
SquidSpirit 2025-10-12 03:47:47 +08:00
parent 7c32d347b4
commit bb9a6bbb12

21
backend/.env.example Normal file
View File

@ -0,0 +1,21 @@
HOST=127.0.0.1
PORT=8080
DATABASE_HOST=127.0.0.1
DATABASE_PORT=5432
DATABASE_USER=postgres
DATABASE_PASSWORD=
DATABASE_NAME=postgres
# For sqlx migrations
DATABASE_URL=postgres://postgres@127.0.0.1:5432/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 64'
REDIS_URL=redis://127.0.0.1:6379
STORAGE_PATH=static