-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
74 lines (62 loc) · 2.82 KB
/
.env.example
File metadata and controls
74 lines (62 loc) · 2.82 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
69
70
71
72
73
74
# Academic Workflow Suite - Environment Variables Example
# Copy this file to .env.dev, .env.test, or .env.prod and fill in the values
# =============================================================================
# Database Configuration
# =============================================================================
POSTGRES_DB=academic_workflow
POSTGRES_USER=aws_user
POSTGRES_PASSWORD=changeme_strong_password_here
# =============================================================================
# Redis Configuration
# =============================================================================
REDIS_PASSWORD=changeme_strong_password_here
# =============================================================================
# Backend Service (Phoenix)
# =============================================================================
# Generate with: mix phx.gen.secret
SECRET_KEY_BASE=changeme_generate_a_long_random_string_here
# Database URL (constructed from above values)
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
# Phoenix server configuration
PHX_HOST=backend
PHX_SERVER=true
PORT=4000
# =============================================================================
# Core Engine (Rust)
# =============================================================================
RUST_LOG=info
RUST_BACKTRACE=0
AWS_ENV=production
# =============================================================================
# Monitoring
# =============================================================================
GRAFANA_ADMIN_USER=admin
GRAFANA_ADMIN_PASSWORD=changeme_strong_password_here
GRAFANA_ROOT_URL=http://localhost:3000
# =============================================================================
# AI Configuration
# =============================================================================
AI_JAIL_MODE=production
# =============================================================================
# Backup Configuration (optional)
# =============================================================================
BACKUP_SCHEDULE=0 2 * * *
BACKUP_RETENTION_DAYS=30
# BACKUP_S3_BUCKET=my-backups
# BACKUP_S3_ACCESS_KEY=
# BACKUP_S3_SECRET_KEY=
# =============================================================================
# Application Version
# =============================================================================
VERSION=latest
# =============================================================================
# Resource Limits (optional overrides)
# =============================================================================
# CORE_MAX_WORKERS=8
# CORE_REQUEST_TIMEOUT=30
# BACKEND_POOL_SIZE=20
# =============================================================================
# Development Only
# =============================================================================
# CARGO_INCREMENTAL=1
# MIX_ENV=dev