-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker.env.example
More file actions
29 lines (23 loc) · 806 Bytes
/
docker.env.example
File metadata and controls
29 lines (23 loc) · 806 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
# Docker Environment Configuration for Rust CMS
# Copy this to .env and customize as needed
# Database Configuration
POSTGRES_USER=myrustcms
POSTGRES_PASSWORD=your_secure_password_here
POSTGRES_DB=my_rust_cms
# Application Configuration
RUST_LOG=info
BACKEND_HOST=0.0.0.0
BACKEND_PORT=8081
# Database URL (automatically constructed from above values)
DATABASE_URL=postgres://myrustcms:your_secure_password_here@postgres:5432/my_rust_cms
# Security (generate strong secrets in production)
SESSION_SECRET=your_session_secret_here_min_32_chars
# Email Configuration (optional)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=your_email@gmail.com
SMTP_PASSWORD=your_app_password
FROM_EMAIL=your_email@gmail.com
# Application URLs
FRONTEND_URL=http://localhost:8080
BACKEND_URL=http://localhost:8081