-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.test.example
More file actions
35 lines (28 loc) · 811 Bytes
/
.env.test.example
File metadata and controls
35 lines (28 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Example Test Environment Configuration
# Copy to .env.test and customize for your local setup
NODE_ENV=test
TEST_ENV=true
PORT=3001
# Local Testing (Docker Compose)
MONGODB_URL=mongodb://test-mongodb:27017/codepark-test
REDIS_HOST=test-redis
REDIS_PORT=6379
# Or for local without Docker:
# MONGODB_URL=mongodb://localhost:27017/codepark-test
# REDIS_HOST=localhost
# REDIS_PORT=6379
# JWT (32+ characters required)
JWT_SECRET=test-secret-key-min-32-characters-long-1234567890
JWT_REFRESH_SECRET=test-refresh-secret-min-32-characters-long123
# Security settings for testing
ARGON2_TIME_COST=2
ARGON2_MEMORY_COST=65536
ARGON2_PARALLELISM=1
# Feature flags for testing
GRAPHQL_ENABLED=true
WEBHOOK_ENABLED=true
DISABLE_EXTERNAL_CALLS=true
MOCK_EXTERNAL_SERVICES=true
# Debug
DEBUG=test:*
LOG_LEVEL=error