Просмотр исходного кода

Allow erp-bridge .env.example to be tracked by git

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Tony T 2 недель назад
Родитель
Сommit
4bfd9948c8
2 измененных файлов с 12 добавлено и 0 удалено
  1. 3 0
      .gitignore
  2. 9 0
      erp-bridge/.env.example

+ 3 - 0
.gitignore

@@ -119,3 +119,6 @@ temp/
 client/public/__manus__/version.json
 deploy/node_modules/
 deploy/package*.json
+
+# Allow example env templates
+!erp-bridge/.env.example

+ 9 - 0
erp-bridge/.env.example

@@ -0,0 +1,9 @@
+# ERP PostgreSQL (read-only account)
+# Format: postgresql://user:password@host:5432/dbname
+ERP_DATABASE_URL=postgresql://chatbot_readonly:CHANGE_ME@erp-db-host:5432/erp_db
+
+# Shared secret between this service and the Node.js chatbot backend
+ERP_API_KEY=CHANGE_ME_RANDOM_64_CHAR_STRING
+
+# Port to listen on (127.0.0.1 only — never expose externally)
+PORT=8080