From 96c42c66985f6a1f1bb5576cf02edc24c00af8ef 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 15:20:07 +0900 Subject: [PATCH] Add backend environment example --- backend/.env.example | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 backend/.env.example diff --git a/backend/.env.example b/backend/.env.example new file mode 100644 index 0000000..a37671d --- /dev/null +++ b/backend/.env.example @@ -0,0 +1,21 @@ +APP_ENV=development +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 + +ADMIN_ORIGIN=https://admin.example.ru +WIDGET_ORIGIN=https://widget.example.ru + +TELEGRAM_BOT_TOKEN= +TELEGRAM_PROXY_ENABLED=false +TELEGRAM_PROXY_TYPE=socks5 +TELEGRAM_PROXY_HOST=127.0.0.1 +TELEGRAM_PROXY_PORT=9050 +TELEGRAM_PROXY_USERNAME= +TELEGRAM_PROXY_PASSWORD= + +JWT_SECRET=change-me