-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
29 lines (23 loc) · 824 Bytes
/
.env.example
File metadata and controls
29 lines (23 loc) · 824 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
# RustForms Docker Environment Configuration
# Copy this file to .env and customize the values for your deployment
# Database Configuration
POSTGRES_USER=rustforms
POSTGRES_PASSWORD=rustforms_secure_password_change_this
POSTGRES_DB=rustforms_db
POSTGRES_PORT=5432
# API Configuration
API_PORT=3001
FORM_SECRET=your-super-secret-unguessable-token-change-this-in-production-make-it-long-and-random
# Web UI Configuration
WEB_UI_PORT=3000
NEXT_PUBLIC_API_URL=http://localhost:3001
# Email Configuration (required for form submissions)
RECIPIENT_EMAIL=admin@yourdomain.com
SMTP_HOST=smtp.yourdomain.com
SMTP_USERNAME=noreply@yourdomain.com
SMTP_PASSWORD=your-smtp-password
# Logging Level (debug, info, warn, error)
RUST_LOG=info
# Optional: If using reverse proxy
# DOMAIN=yourdomain.com
# SSL_EMAIL=admin@yourdomain.com