forked from endurain-project/endurain
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstack.env.example
More file actions
66 lines (54 loc) · 1.8 KB
/
Copy pathstack.env.example
File metadata and controls
66 lines (54 loc) · 1.8 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
# Endurain Stack Environment Variables
# Copy this file to stack.env and configure your values
# =============================================================================
# REQUIRED CONFIGURATION
# =============================================================================
# Database Configuration
DB_HOST=postgres
DB_NAME=endurain
DB_USER=endurain
DB_PASSWORD=your_secure_database_password_here
# Security Configuration (REQUIRED - Generate secure values)
SECRET_KEY=your_secret_key_here_generate_with_openssl_rand_hex_32
FERNET_KEY=your_fernet_key_here_generate_at_fernetkeygen_com
# Application Configuration
ENDURAIN_HOST=http://localhost:8080
TZ=Europe/Lisbon
# =============================================================================
# OPTIONAL CONFIGURATION
# =============================================================================
# Port Configuration
ENDURAIN_PORT=8080
POSTGRES_PORT=5432
JAEGER_UI_PORT=16686
JAEGER_AGENT_PORT=6831
REDIS_PORT=6379
# Proxy Configuration
BEHIND_PROXY=false
# Email Configuration (Optional)
SMTP_HOST=
SMTP_PORT=587
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_FROM_EMAIL=
SMTP_FROM_NAME=Endurain
# Redis Configuration (Optional)
REDIS_HOST=
REDIS_PASSWORD=
# Jaeger Configuration (Optional)
JAEGER_AGENT_HOST=jaeger
# File Upload Configuration (Optional)
MAX_FILE_SIZE=100MB
ALLOWED_FILE_TYPES=gpx,tcx,fit
# =============================================================================
# GENERATION COMMANDS
# =============================================================================
#
# Generate SECRET_KEY:
# openssl rand -hex 32
#
# Generate FERNET_KEY:
# Visit https://fernetkeygen.com or run:
# python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
#
# =============================================================================