Files
support_backend/.env.test
T

20 lines
438 B
Bash

NODE_ENV=test
PORT=4502
# Nest build
BUILD_COMMAND=npm run build:test
# Database
POSTGRES_HOST=postgres
POSTGRES_DB=myapp_test
POSTGRES_USER=myapp_test
POSTGRES_PASSWORD=test_password
DATABASE_URL=postgresql://myapp_test:test_password@postgres:5432/myapp_test
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=test_redis_password
# Security & CORS
JWT_SECRET=super-secret-testing-jwt-key-32-chars-long
CORS_ORIGINS=http://localhost:3000