25 lines
724 B
Plaintext
25 lines
724 B
Plaintext
|
|
# HELIX — environment configuration
|
||
|
|
#
|
||
|
|
# Copy to .env and fill in the secrets. See README.md "Gitea OAuth setup".
|
||
|
|
|
||
|
|
# --- Server ---
|
||
|
|
PORT=3000
|
||
|
|
ORIGIN=http://localhost:3000
|
||
|
|
|
||
|
|
# --- Database ---
|
||
|
|
# Path is relative to the process cwd (or absolute).
|
||
|
|
DATABASE_URL=./helix.db
|
||
|
|
|
||
|
|
# --- Gitea OAuth ---
|
||
|
|
# Create an OAuth2 application at:
|
||
|
|
# https://gitea.wbd-rd.nl/-/user/settings/applications
|
||
|
|
# Redirect URI must match GITEA_REDIRECT_URI exactly.
|
||
|
|
GITEA_BASE_URL=https://gitea.wbd-rd.nl
|
||
|
|
GITEA_CLIENT_ID=
|
||
|
|
GITEA_CLIENT_SECRET=
|
||
|
|
GITEA_REDIRECT_URI=http://localhost:3000/auth/gitea/callback
|
||
|
|
|
||
|
|
# Optional: restrict login to members of a specific Gitea organisation.
|
||
|
|
# Leave empty to allow any authenticated Gitea user.
|
||
|
|
GITEA_ALLOWED_ORG=RnD
|