Files
ep-stalwart-v2/.env.example
T

47 lines
1.4 KiB
Bash

# Copy this file to .env and fill in real values. Never commit the real .env file.
# Project / container naming
PROJECT_NAME=eternitymail
# Mail server hostname and domain
MAIL_HOSTNAME=mail.eternityproject.fi
MAIL_DOMAIN=eternityproject.fi
# Host paths for persistent data
DATA_ROOT=/opt/eternitymail
# Stalwart port bindings
STALWART_SMTP_PORT=25
STALWART_SUBMISSION_PORT=587
STALWART_IMAPS_PORT=993
# Leave empty to bind the Stalwart admin interface on all host interfaces.
STALWART_ADMIN_BIND=127.0.0.1
STALWART_ADMIN_PORT=8081
STALWART_RECOVERY_ADMIN=
# Roundcube port bindings
# Leave empty to bind Roundcube on all host interfaces.
ROUNDCUBE_BIND=127.0.0.1
ROUNDCUBE_PORT=8091
# Roundcube IMAP and SMTP endpoints. Replace either value with a Stalwart IP
# address when MAIL_HOSTNAME is unavailable from the Roundcube container.
ROUNDCUBE_IMAP_HOST=${MAIL_HOSTNAME}
ROUNDCUBE_SMTP_HOST=${MAIL_HOSTNAME}
# Set to true only for local testing with Stalwart's generated self-signed certificate.
ROUNDCUBE_ALLOW_SELF_SIGNED_CERT=false
# Roundcube database
RC_DB_NAME=roundcube
RC_DB_USER=roundcube
RC_DB_PASSWORD=changeme
RC_DB_ROOT_PASSWORD=changeme
# Roundcube DES key (24 chars, used to encrypt stored IMAP passwords)
# Generate one with scripts/generate-des-key.ps1
RC_DES_KEY=changeme_24_char_key!!!
# Custom Roundcube skin, mounted from a sibling checkout of ep-roundcube-skin
ROUNDCUBE_SKIN_NAME=eternity
ROUNDCUBE_SKIN_PATH=../ep-roundcube-skin/eternity