81 lines
3.1 KiB
Bash
81 lines
3.1 KiB
Bash
# JMAP Webmail Configuration
|
|
# Copy this file to .env.local and fill in your values
|
|
|
|
# =============================================================================
|
|
# Runtime Configuration (recommended for Docker)
|
|
# These are read at request time, allowing post-build configuration
|
|
# =============================================================================
|
|
|
|
# App name displayed in the UI
|
|
APP_NAME=JMAP Webmail
|
|
|
|
# JMAP server URL (required)
|
|
# This is the URL of your JMAP-compatible mail server
|
|
JMAP_SERVER_URL=https://your-jmap-server.com
|
|
|
|
# =============================================================================
|
|
# Build-time Configuration (legacy, still supported as fallback)
|
|
# These are baked into the bundle at build time
|
|
# =============================================================================
|
|
|
|
# NEXT_PUBLIC_APP_NAME=JMAP Webmail
|
|
# NEXT_PUBLIC_JMAP_SERVER_URL=https://your-jmap-server.com
|
|
|
|
# =============================================================================
|
|
# Logging Configuration
|
|
# =============================================================================
|
|
|
|
# Log format: "text" (colored, human-readable) or "json" (structured, for log aggregation)
|
|
LOG_FORMAT=text
|
|
|
|
# Log level: "error", "warn", "info", or "debug"
|
|
LOG_LEVEL=info
|
|
|
|
# =============================================================================
|
|
# Docker Configuration
|
|
# =============================================================================
|
|
# When running with Docker, set these in .env.local:
|
|
# APP_NAME=My Webmail
|
|
# JMAP_SERVER_URL=https://mail.example.com
|
|
#
|
|
# Then run:
|
|
# docker compose up -d
|
|
|
|
# =============================================================================
|
|
# Session & Security
|
|
# =============================================================================
|
|
|
|
# Secret key for encrypting "Remember me" sessions and settings sync data
|
|
# Required for both "Remember me" and settings sync features
|
|
# Use a strong random string (e.g. openssl rand -base64 32)
|
|
# SESSION_SECRET=your-secret-key-here
|
|
|
|
# =============================================================================
|
|
# Settings Sync
|
|
# =============================================================================
|
|
|
|
# Enable server-side settings persistence (requires SESSION_SECRET)
|
|
# When enabled, user settings are encrypted and stored on the server,
|
|
# allowing them to sync across browsers and devices.
|
|
# SETTINGS_SYNC_ENABLED=true
|
|
|
|
# Directory for storing encrypted settings files (default: ./data/settings)
|
|
# For Docker, mount a persistent volume at this path.
|
|
# SETTINGS_DATA_DIR=./data/settings
|
|
|
|
# =============================================================================
|
|
# Login Page Customization
|
|
# =============================================================================
|
|
|
|
# Company or organization name displayed above the version on the login page
|
|
# LOGIN_COMPANY_NAME=My Company
|
|
|
|
# URL for the imprint/legal notice link on the login page
|
|
# LOGIN_IMPRINT_URL=https://example.com/imprint
|
|
|
|
# URL for the privacy policy link on the login page
|
|
# LOGIN_PRIVACY_POLICY_URL=https://example.com/privacy
|
|
|
|
# URL for the company website link on the login page
|
|
# LOGIN_WEBSITE_URL=https://example.com
|