- Local dev WEB_PORT now 9000 to match the planned dev/staging domain test.04080616.xyz. Production deployment uses port 8100 mapped to rexwa.04080616.xyz (configured in plan 4). - apps/bot/tsconfig.json: exclude src/**/*.test.ts from the production build (vitest types only present at dev time, mirrors the same fix we made earlier for packages/shared).
22 lines
554 B
Plaintext
22 lines
554 B
Plaintext
# === Postgres ===
|
|
DATABASE_URL=postgres://USER:PASS@192.168.0.210:5432/whatsapp_bot_dev
|
|
|
|
# === App data paths (inside containers) ===
|
|
DATA_DIR=/data
|
|
SESSIONS_DIR=/data/sessions
|
|
MEDIA_DIR=/data/media
|
|
|
|
# === Bot service ===
|
|
BOT_HEALTH_PORT=8081
|
|
BOT_LOG_LEVEL=info
|
|
|
|
# === Seed (used by scripts/db.sh seed) ===
|
|
SEED_OPERATOR_TELEGRAM_ID=
|
|
SEED_OPERATOR_NAME=Operator
|
|
|
|
# === Web ===
|
|
# Port the Next.js container exposes on the host. Production deployment
|
|
# (rexwa.04080616.xyz) uses 8100; dev/staging (test.04080616.xyz) uses 9000.
|
|
WEB_PORT=9000
|
|
AUTH_SECRET=
|