diff --git a/.env.example b/.env.example index 072b8f6..1c3a936 100644 --- a/.env.example +++ b/.env.example @@ -1,15 +1,17 @@ -# Database -DATABASE_URL="postgresql://username:password@localhost:5432/pve_scripts_local" +# When adding additional environment variables, the schema in "/src/env.js" +# should be updated accordingly. -# Repository Configuration -REPO_URL="https://github.com/your-org/pve-scripts.git" +# 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/michelroegl-brunner/PVESciptslocal" REPO_BRANCH="main" -SCRIPTS_DIRECTORY="scripts" -ALLOWED_SCRIPT_EXTENSIONS=".sh,.py,.js,.ts,.bash" +SCRIPTS_DIRECTORY="scripts/ct" +ALLOWED_SCRIPT_EXTENSIONS=".sh" # Security MAX_SCRIPT_EXECUTION_TIME="300000" ALLOWED_SCRIPT_PATHS="scripts/" # WebSocket Configuration -WEBSOCKET_PORT="3001" \ No newline at end of file +WEBSOCKET_PORT="3000"