-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.test
More file actions
44 lines (37 loc) · 1.04 KB
/
.env.test
File metadata and controls
44 lines (37 loc) · 1.04 KB
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
36
37
38
39
40
41
42
43
44
# Test environment configuration
PROJECT_NAME=integr8scode
DATABASE_NAME=integr8scode_test
API_V1_STR=/api/v1
SECRET_KEY=test-secret-key-for-testing-only-32chars!!
TESTING=true
# MongoDB - use localhost for tests
MONGODB_URL=mongodb://root:rootpassword@localhost:27017/?authSource=admin
MONGO_ROOT_USER=root
MONGO_ROOT_PASSWORD=rootpassword
# Redis - use localhost for tests
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=
REDIS_SSL=false
REDIS_MAX_CONNECTIONS=50
REDIS_DECODE_RESPONSES=true
# Kafka - use localhost for tests
KAFKA_BOOTSTRAP_SERVERS=localhost:9092
KAFKA_TOPIC_PREFIX=test.
SCHEMA_SUBJECT_PREFIX=test.
SCHEMA_REGISTRY_URL=http://localhost:8081
# Security
SECURE_COOKIES=true
BCRYPT_ROUNDS=4
# Features
RATE_LIMIT_ENABLED=true
ENABLE_TRACING=false
# OpenTelemetry - disabled for tests
# Empty endpoint prevents OTLP exporter creation in setup_metrics()
# OTEL_SDK_DISABLED=true (set via pytest-env) provides additional safety
OTEL_EXPORTER_OTLP_ENDPOINT=
# Development
DEVELOPMENT_MODE=false
LOG_LEVEL=INFO
ENVIRONMENT=test