From 413159ad8c8e1ef0d2da38360656711ed1c29453 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:09:02 +0330 Subject: [PATCH] Import source: backend/.env.example Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- backend/.env.example | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 backend/.env.example 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"