Replace corepack-prepared pnpm with `npm install -g pnpm@9.12.0` so the binary lives in /usr/local/bin (readable by any UID) instead of root's corepack cache. Avoids re-downloading pnpm on every container restart when running as a non-root host user. Also populate .env.development with real dev credentials (Postgres at 192.168.0.210/wabot, dev Telegram bot, operator Telegram ID 818380985).
14 lines
473 B
Plaintext
14 lines
473 B
Plaintext
DATABASE_URL=postgres://waBot:cJe3SGjHHAitNBE4@192.168.0.210:5432/wabot
|
|
TELEGRAM_BOT_TOKEN=5327571437:AAFlowwnAysTEMx6LtYQNTevGCboKDZoYzY
|
|
TELEGRAM_OPERATOR_WHITELIST=818380985
|
|
TELEGRAM_QR_CHAT_ID=818380985
|
|
DATA_DIR=/data
|
|
SESSIONS_DIR=/data/sessions
|
|
MEDIA_DIR=/data/media
|
|
BOT_HEALTH_PORT=8081
|
|
BOT_LOG_LEVEL=debug
|
|
SEED_OPERATOR_TELEGRAM_ID=818380985
|
|
SEED_OPERATOR_NAME=yiekheng (dev)
|
|
WEB_PORT=3000
|
|
AUTH_SECRET=86f656580a58f03b6ccb43d257e0e801ecd5356e042e8886b3c7c569e29ff13c
|