Files
falah-os-ce/.env.example
T

24 lines
1.4 KiB
Bash
Raw Normal View History

# ── Falah OS CE — Environment Variables ──────────────────────────────────────
# Copy this file to .env and fill in your values.
# Credentials are stored in bitwarden.falahos.my
#
# cp .env.example .env
# ── Ports (change only if defaults conflict on your host) ─────────────────────
CE_PORT=3005 # Falah OS CE frontend
ISTORE_PORT=3021 # iStore service
APP_MANAGER_PORT=3022 # App Manager (install/uninstall)
# ── UmmahID / Casdoor ─────────────────────────────────────────────────────────
# Casdoor application settings — create an app at auth.falahos.my
# and set redirect URI to http://<your-server-ip>:3005
CASDOOR_ENDPOINT=https://auth.falahos.my
CASDOOR_CLIENT_ID= # from Casdoor app settings (Client ID field)
# Note: no CASDOOR_CLIENT_SECRET needed — CE uses PKCE (RFC 7636)
# ── iStore / Gitea ────────────────────────────────────────────────────────────
# Personal access token from git.falahos.my/-/user/settings/applications
# Scopes required: read:org, read:repository
# Leave empty to use public repos only (rate-limited)
GITEA_TOKEN=