Lab bootstrap scripts exercise CRM PHP, Node redirector, health endpoints, and MySQL analytics on 10.10.50.17. Bearer auth is checked before session dev-login; redirector reads CRM_API_URL at fetch time so dotenv applies correctly. Paperclip-Task: BIT-24693 Paperclip-Run: 3467cbf0-a91f-4cb0-808a-ccb043de28d3 Co-authored-by: Cursor <[email protected]>
29 lines
814 B
Bash
29 lines
814 B
Bash
# MoneyFlix lab environment (copy to repo root .env and nodejs-redirector/.env)
|
|
# Never commit real values — lab-only credentials.
|
|
|
|
# --- Shared MySQL (lab host 10.10.50.17:3306) ---
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=3306
|
|
DB_NAME=moneyflix_lab
|
|
DB_USER=moneyflix_lab
|
|
DB_PASS=change-me-lab-only
|
|
DB_CHARSET=utf8mb4
|
|
|
|
# CRM API bearer token (must match CRM REDIRECTS_API_KEY and redirector CRM_API_KEY)
|
|
REDIRECTS_API_KEY=change-me-lab-api-key
|
|
|
|
# --- Lab service ports (3001 is used by Paperclip on this host) ---
|
|
CRM_PORT=8888
|
|
REDIRECTOR_PORT=3101
|
|
|
|
# --- Redirector ---
|
|
CRM_API_URL=http://127.0.0.1:8888/api/redirects
|
|
CRM_API_KEY=change-me-lab-api-key
|
|
DB_DATABASE=moneyflix_lab
|
|
DB_PASSWORD=change-me-lab-only
|
|
NODE_ENV=development
|
|
PORT=3101
|
|
|
|
# --- MariaDB bootstrap (docker on lab) ---
|
|
MARIADB_ROOT_PASSWORD=casamento_ci_root
|