2026-07-06 10:05:37 +08:00
|
|
|
# ── 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
|
2026-07-06 11:00:26 +08:00
|
|
|
# Scopes required: read:organization, read:repository
|
|
|
|
|
# A read-only token is pre-generated for the iStore service — retrieve it from
|
|
|
|
|
# bitwarden.falahos.my under "Falah OS iStore Gitea Token"
|
2026-07-06 10:05:37 +08:00
|
|
|
GITEA_TOKEN=
|