-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathENVIRONMENT_CONFIG.json
More file actions
68 lines (68 loc) · 1.74 KB
/
ENVIRONMENT_CONFIG.json
File metadata and controls
68 lines (68 loc) · 1.74 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"environments": {
"development": {
"description": "Local development environment",
"variables": {
"DEBUG": "true",
"LOG_LEVEL": "DEBUG",
"DATABASE_URL": "postgresql://localhost/aiplatform_dev",
"REDIS_URL": "redis://localhost:6379/0",
"API_TIMEOUT": "30",
"MAX_WORKERS": "4"
}
},
"testing": {
"description": "Testing environment",
"variables": {
"DEBUG": "true",
"LOG_LEVEL": "INFO",
"DATABASE_URL": "postgresql://test:test@localhost/aiplatform_test",
"REDIS_URL": "redis://localhost:6379/1",
"API_TIMEOUT": "10",
"MAX_WORKERS": "2",
"COVERAGE_THRESHOLD": "80"
}
},
"staging": {
"description": "Staging environment",
"variables": {
"DEBUG": "false",
"LOG_LEVEL": "INFO",
"DATABASE_URL": "${STAGING_DATABASE_URL}",
"REDIS_URL": "${STAGING_REDIS_URL}",
"API_TIMEOUT": "30",
"MAX_WORKERS": "8",
"ENABLE_MONITORING": "true"
}
},
"production": {
"description": "Production environment",
"variables": {
"DEBUG": "false",
"LOG_LEVEL": "WARNING",
"DATABASE_URL": "${PROD_DATABASE_URL}",
"REDIS_URL": "${PROD_REDIS_URL}",
"API_TIMEOUT": "60",
"MAX_WORKERS": "16",
"ENABLE_MONITORING": "true",
"ENABLE_SECURITY": "true"
}
}
},
"secrets": [
"DATABASE_PASSWORD",
"REDIS_PASSWORD",
"API_KEY",
"JWT_SECRET",
"ENCRYPTION_KEY",
"AWS_SECRET_ACCESS_KEY",
"OPENAI_API_KEY"
],
"deployment": {
"strategy": "blue-green",
"healthcheck": "/api/health",
"timeout": 300,
"max_retries": 3,
"rollback_on_failure": true
}
}