diff --git a/backend/.env.example b/backend/.env.example new file mode 100644 index 0000000..bd960cf --- /dev/null +++ b/backend/.env.example @@ -0,0 +1,23 @@ +# --- Port & Environment Config --- +PORT=3020 +HOST=127.0.0.1 +NODE_ENV=development + +# --- PostgreSQL Database --- +DATABASE_URL="postgresql://coaxys_panel:coaxys_pass@127.0.0.1:5432/coaxys_panel?schema=public" + +# --- Redis & Queues --- +REDIS_URL="redis://127.0.0.1:6379" +REDIS_KEY_PREFIX="coaxys_panel" + +# --- Authentication & Session Cryptography --- +JWT_SECRET="your_jwt_secret_must_be_at_least_32_chars_long" +SESSION_SECRET="your_session_secret_must_be_at_least_32_chars_long" +COOKIE_DOMAIN="localhost" + +# --- Logging & Diagnostics --- +LOG_LEVEL=info + +# --- File Paths --- +UPLOAD_DIR="/var/lib/coaxyspanel/uploads" +BACKUP_DIR="/var/backups/coaxyspanel"