- Add repository URL validation for GitHub, GitLab, Bitbucket, and custom hosts - Add git provider layer (listDirectory, downloadRawFile) for all providers - Wire githubJsonService and scriptDownloader to use provider; sync/download from any supported source - Update GeneralSettingsModal placeholder and help text; .env.example and env schema for GITLAB_TOKEN, BITBUCKET_APP_PASSWORD Closes #406
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# When adding additional environment variables, the schema in "/src/env.js"
|
|
# should be updated accordingly.
|
|
|
|
REPO_URL="https://github.com/community-scripts/ProxmoxVE"
|
|
REPO_BRANCH="main"
|
|
SCRIPTS_DIRECTORY="scripts"
|
|
ALLOWED_SCRIPT_EXTENSIONS=".sh"
|
|
|
|
CT_SCRIPT_FOLDER="ct"
|
|
INSTALL_SCRIPT_FOLDER="install"
|
|
JSON_FOLDER="frontend/public/json"
|
|
|
|
# Security
|
|
MAX_SCRIPT_EXECUTION_TIME="900000"
|
|
ALLOWED_SCRIPT_PATHS="scripts/"
|
|
|
|
# WebSocket Configuration
|
|
WEBSOCKET_PORT="3001"
|
|
|
|
# User settings
|
|
# Optional tokens for private repos: GITHUB_TOKEN (GitHub), GITLAB_TOKEN (GitLab),
|
|
# BITBUCKET_APP_PASSWORD or BITBUCKET_TOKEN (Bitbucket). REPO_URL and added repos
|
|
# can be GitHub, GitLab, Bitbucket, or custom Git servers.
|
|
GITHUB_TOKEN=
|
|
GITLAB_TOKEN=
|
|
BITBUCKET_APP_PASSWORD=
|
|
SAVE_FILTER=false
|
|
FILTERS=
|
|
AUTH_USERNAME=
|
|
AUTH_PASSWORD_HASH=
|
|
AUTH_ENABLED=false
|
|
AUTH_SETUP_COMPLETED=false
|
|
JWT_SECRET=
|
|
DATABASE_URL="file:/opt/ProxmoxVE-Local/data/settings.db"
|
|
AUTO_SYNC_ENABLED=false
|
|
SYNC_INTERVAL_TYPE=
|
|
SYNC_INTERVAL_PREDEFINED=
|
|
AUTO_DOWNLOAD_NEW=
|
|
AUTO_UPDATE_EXISTING=
|
|
NOTIFICATION_ENABLED=
|
|
APPRISE_URLS=
|
|
LAST_AUTO_SYNC=
|
|
SYNC_INTERVAL_CRON= |