- Fixed syntax errors in build.func (duplicate export, unmatched quotes) - Fixed color variable initialization by calling load_functions in core.func - Replaced undefined function calls (post_to_api, post_update_to_api) with echo statements - Fixed install script execution by copying scripts into container first - Made create_lxc.sh executable - Improved error handling and script sourcing - Added missing core functions and tools - Enhanced script downloader and local script management
22 lines
631 B
Plaintext
22 lines
631 B
Plaintext
# When adding additional environment variables, the schema in "/src/env.js"
|
|
# should be updated accordingly.
|
|
|
|
# Prisma
|
|
# https://www.prisma.io/docs/reference/database-reference/connection-urls#env
|
|
DATABASE_URL="postgresql://postgres:password@localhost:5432/pve-scripts-local"
|
|
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"
|