From 79dd94dfdcfd6084a890cd7306b6e4efebab9c93 Mon Sep 17 00:00:00 2001 From: kirychukyurii Date: Mon, 7 Sep 2026 21:47:45 +0300 Subject: [PATCH] fix(env): use loopback hosts and placeholder credentials [PE-90] .env.example ships as /etc/default/, so its values are the defaults every installation starts from, not a developer local setup. Point hosts at 127.0.0.1 and replace working credentials with user:pass placeholders. Co-Authored-By: Claude Opus 5 (cherry picked from commit 9d5d30bc93181eda009315b9c0209f067702a370) --- .env.example | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 7c508b53..9502aa03 100644 --- a/.env.example +++ b/.env.example @@ -26,10 +26,10 @@ LOG_CONSOLE=false LOG_FILE= # Consul host -CONSUL=172.0.0.1:8500 -AMQP=amqp://admin:admin@rabbit:5672?heartbeat=10 +CONSUL=127.0.0.1:8500 +AMQP=amqp://user:pass@127.0.0.1:5672?heartbeat=10 -DATA_SOURCE=postgres://postgres:postgres@postgres:5432/webitel?fallback_application_name=engine&sslmode=disable&connect_timeout=10&search_path=call_center +DATA_SOURCE=postgres://user:pass@127.0.0.1:5432/webitel?fallback_application_name=engine&sslmode=disable&connect_timeout=10&search_path=call_center SQL_DATA_SOURCE_REPLICAS= SQL_MAX_IDLE_CONNS=5 @@ -52,7 +52,7 @@ WEBSOCKET=:80 # Maximum inbound WebSocket message size SOCKET_MAX_IN_MSG_SIZE=256KB -OPEN_SIP_ADDR=opensips +OPEN_SIP_ADDR=127.0.0.1 WS_SIP_ADDR= SIP_PROXY_ADDR=