From ae37de0c41a8a95506aa419cadd4b970cfe4d11c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80?= <78488229+viktor138irk@users.noreply.github.com> Date: Fri, 8 May 2026 16:45:54 +0900 Subject: [PATCH] Update backend env example for VPS-only deployment --- backend/.env.example | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/backend/.env.example b/backend/.env.example index a37671d..05bee1d 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -1,11 +1,11 @@ -APP_ENV=development +APP_ENV=production APP_HOST=127.0.0.1 APP_PORT=3000 PUBLIC_API_URL=https://api.example.ru PUBLIC_WS_URL=wss://api.example.ru/ws TRUST_PROXY=true -DATABASE_PATH=./data/chat.sqlite +DATABASE_PATH=/opt/raspi-chat/data/chat.sqlite ADMIN_ORIGIN=https://admin.example.ru WIDGET_ORIGIN=https://widget.example.ru @@ -18,4 +18,8 @@ TELEGRAM_PROXY_PORT=9050 TELEGRAM_PROXY_USERNAME= TELEGRAM_PROXY_PASSWORD= -JWT_SECRET=change-me +JWT_SECRET=change-me-to-long-random-string + +FRONTEND_DEPLOY_ENABLED=false +FRONTEND_DEPLOY_MODE=manual-fastpanel +FASTPANEL_SAFE_MODE=true