All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m21s
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
# .env.test
|
|
# Environment variables for the test environment.
|
|
# This file is loaded by `tsx` when running the `npm run test:integration` command.
|
|
|
|
# --- Test Database Connection ---
|
|
# IMPORTANT: These should point to your *test* database, not production.
|
|
# These values will be used by the backend server when it starts for integration tests.
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_USER=flyer_crawler_user
|
|
DB_PASSWORD=WoA2kFtqqHdTLqdZsoCa
|
|
DB_DATABASE=flyer-crawler-test
|
|
DB_NAME=flyer-crawler-test
|
|
|
|
# --- Test JWT Secret ---
|
|
JWT_SECRET=a-secure-secret-for-testing-only
|
|
|
|
# --- Other Test Variables ---
|
|
# These can be dummy values if the feature is not being tested directly.
|
|
FRONTEND_URL=http://localhost:3000
|
|
GEMINI_API_KEY=dummy-api-key-for-testing
|
|
|
|
# --- Worker Configuration ---
|
|
WORKER_CONCURRENCY=5
|
|
|
|
# --- Redis Connection URL ---
|
|
REDIS_URL=redis://127.0.0.1:6379
|
|
REDIS_PASSWORD=TLLRXw6XadGo2hhGJkHo
|
|
|
|
# --- Email (SMTP) Configuration for Nodemailer ---
|
|
# For testing, these can be dummy values or point to a local test server like MailHog.
|
|
SMTP_HOST=localhost
|
|
SMTP_PORT=1025
|
|
SMTP_SECURE=false
|
|
SMTP_USER=
|
|
SMTP_PASS=
|
|
SMTP_FROM_EMAIL=noreply@flyer-crawler.projectium.com |