66 lines
1.8 KiB
Plaintext
66 lines
1.8 KiB
Plaintext
# Docmost Cloudron Configuration
|
|
# Copy this file to /app/data/.env and customize as needed
|
|
# Restart the app after making changes: cloudron restart --app docmost
|
|
|
|
# ======================
|
|
# EMAIL CONFIGURATION
|
|
# ======================
|
|
|
|
# By default, Docmost uses Cloudron's internal email server
|
|
# Uncomment and modify these lines to use a custom email server
|
|
|
|
# MAIL_DRIVER=smtp
|
|
# SMTP_HOST=smtp.gmail.com
|
|
# SMTP_PORT=587
|
|
# SMTP_USERNAME=your-email@gmail.com
|
|
# SMTP_PASSWORD=your-app-password
|
|
# SMTP_SECURE=true
|
|
# MAIL_FROM_ADDRESS=your-email@gmail.com
|
|
# MAIL_FROM_NAME="Docmost"
|
|
|
|
# Alternative: Use Postmark for email
|
|
# MAIL_DRIVER=postmark
|
|
# POSTMARK_TOKEN=your-postmark-token
|
|
|
|
# ======================
|
|
# STORAGE CONFIGURATION
|
|
# ======================
|
|
|
|
# By default, files are stored locally in /app/data/uploads
|
|
# Uncomment and modify these lines to use S3-compatible storage
|
|
|
|
# STORAGE_DRIVER=s3
|
|
# AWS_S3_ACCESS_KEY_ID=your-access-key
|
|
# AWS_S3_SECRET_ACCESS_KEY=your-secret-key
|
|
# AWS_S3_REGION=us-east-1
|
|
# AWS_S3_BUCKET=your-bucket-name
|
|
# AWS_S3_ENDPOINT=https://s3.amazonaws.com
|
|
# AWS_S3_FORCE_PATH_STYLE=false
|
|
|
|
# For other S3-compatible services (like MinIO, DigitalOcean Spaces):
|
|
# AWS_S3_ENDPOINT=https://your-minio-server.com
|
|
# AWS_S3_FORCE_PATH_STYLE=true
|
|
|
|
# ======================
|
|
# FILE UPLOAD LIMITS
|
|
# ======================
|
|
|
|
# FILE_UPLOAD_SIZE_LIMIT=50MB
|
|
# FILE_IMPORT_SIZE_LIMIT=50MB
|
|
|
|
# ======================
|
|
# APPLICATION SETTINGS
|
|
# ======================
|
|
|
|
# JWT_TOKEN_EXPIRES_IN=7d
|
|
# DRAWIO_URL=https://embed.diagrams.net
|
|
|
|
# Privacy: Disable telemetry (enabled by default)
|
|
# DISABLE_TELEMETRY=true
|
|
|
|
# ======================
|
|
# DATABASE & REDIS
|
|
# ======================
|
|
# These are managed by Cloudron and should not be changed
|
|
# DATABASE_URL=postgresql://...
|
|
# REDIS_URL=redis://... |