Deduplicate env examples: unify TZ usage, move update-check vars to root, align DISABLE_UPDATE_CHECK default with compose
This commit is contained in:
@@ -3,10 +3,9 @@ POSTGRES_PASSWORD=serverpanel_secure_password
|
|||||||
|
|
||||||
# Timezone
|
# Timezone
|
||||||
TZ=Asia/Tashkent
|
TZ=Asia/Tashkent
|
||||||
TIMEZONE=Asia/Tashkent
|
|
||||||
|
|
||||||
# Update Check Configuration (for private repositories)
|
# Update Check Configuration (for private repositories)
|
||||||
# Set to true to disable update checks
|
# Set to true to disable update checks (default: false)
|
||||||
DISABLE_UPDATE_CHECK=true
|
DISABLE_UPDATE_CHECK=false
|
||||||
# GitHub token for private repositories (optional, get at: https://github.com/settings/tokens)
|
# GitHub token for private repositories (optional, get at: https://github.com/settings/tokens)
|
||||||
GITHUB_TOKEN=
|
GITHUB_TOKEN=
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ CORS_ORIGINS=*
|
|||||||
ALLOWED_HOSTS=localhost,127.0.0.1
|
ALLOWED_HOSTS=localhost,127.0.0.1
|
||||||
|
|
||||||
# Update Check Configuration
|
# Update Check Configuration
|
||||||
# Set to true to disable update checks for private repositories
|
# Note: DISABLE_UPDATE_CHECK and GITHUB_TOKEN are managed via root .env
|
||||||
DISABLE_UPDATE_CHECK=false
|
# (see ../.env.example) and passed in docker-compose. Uncomment below only
|
||||||
# GitHub token for private repositories (optional)
|
# if running backend standalone without compose.
|
||||||
# Get token at: https://github.com/settings/tokens (needs 'repo' scope)
|
# DISABLE_UPDATE_CHECK=false
|
||||||
GITHUB_TOKEN=
|
# GITHUB_TOKEN=
|
||||||
|
|||||||
Reference in New Issue
Block a user