Switch from envrc → env format

Ref coop-cloud/abra#40
This commit is contained in:
3wc 2020-12-30 13:19:32 +02:00
parent ea9e240022
commit c8206c96d2
1 changed files with 44 additions and 44 deletions

View File

@ -1,59 +1,59 @@
export APP=mailu APP=mailu
# Main mail domain, NOT main web domain (if they are different) # Main mail domain, NOT main web domain (if they are different)
export DOMAIN=example.com DOMAIN=example.com
export LETS_ENCRYPT_ENV=production LETS_ENCRYPT_ENV=production
export CERTDUMPER_POST_VERSION=v1 CERTDUMPER_POST_VERSION=v1
# Custom settings used by certdumper_post.sh and Traefik # Custom settings used by certdumper_post.sh and Traefik
export WEB_DOMAIN=example.com WEB_DOMAIN=example.com
export ACME_JSON=${LETS_ENCRYPT_ENV}-acme.json ACME_JSON=${LETS_ENCRYPT_ENV}-acme.json
# Mailu settings # Mailu settings
# https://mailu.io # https://mailu.io
export TLS_CERT_FILENAME=$WEB_DOMAIN/certificate.crt TLS_CERT_FILENAME=$WEB_DOMAIN/certificate.crt
export TLS_KEYPAIR_FILENAME=$WEB_DOMAIN/privatekey.key TLS_KEYPAIR_FILENAME=$WEB_DOMAIN/privatekey.key
export REDIS_ADDRESS=db REDIS_ADDRESS=db
# Set to a randomly generated 16 bytes string # Set to a randomly generated 16 bytes string
export SECRET_KEY=XXXXXXXXXXXXXXXX SECRET_KEY=XXXXXXXXXXXXXXXX
# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!) # Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)
export SUBNET=192.168.203.0/24 SUBNET=192.168.203.0/24
# Hostnames for this server, separated with comas # Hostnames for this server, separated with comas
export HOSTNAMES=$WEB_DOMAIN HOSTNAMES=$WEB_DOMAIN
# Postmaster local part (will append the main mail domain) # Postmaster local part (will append the main mail domain)
export POSTMASTER=admin POSTMASTER=admin
# Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt) # Choose how secure connections will behave (value: letsencrypt, cert, notls, mail, mail-letsencrypt)
export TLS_FLAVOR=mail TLS_FLAVOR=mail
# Authentication rate limit (per source IP address) # Authentication rate limit (per source IP address)
export AUTH_RATELIMIT=10/minute AUTH_RATELIMIT=10/minute
# Opt-out of statistics, replace with "True" to opt out # Opt-out of statistics, replace with "True" to opt out
export DISABLE_STATISTICS=False DISABLE_STATISTICS=False
################################### ###################################
# Optional features # Optional features
################################### ###################################
# Expose the admin interface (value: true, false) # Expose the admin interface (value: true, false)
export ADMIN=true ADMIN=true
# Choose which webmail to run if any (values: roundcube, rainloop, none) # Choose which webmail to run if any (values: roundcube, rainloop, none)
export WEBMAIL=rainloop WEBMAIL=rainloop
# Dav server implementation (value: radicale, none) # Dav server implementation (value: radicale, none)
export WEBDAV=none WEBDAV=none
# Antivirus solution (value: clamav, none) # Antivirus solution (value: clamav, none)
export ANTIVIRUS=none ANTIVIRUS=none
################################### ###################################
# Mail settings # Mail settings
@ -62,36 +62,36 @@ export ANTIVIRUS=none
# Message size limit in bytes # Message size limit in bytes
# Default: accept messages up to 50MB # Default: accept messages up to 50MB
# Max attachment size will be 33% smaller # Max attachment size will be 33% smaller
export MESSAGE_SIZE_LIMIT=50000000 MESSAGE_SIZE_LIMIT=50000000
# Networks granted relay permissions # Networks granted relay permissions
# Use this with care, all hosts in this networks will be able to send mail without authentication! # Use this with care, all hosts in this networks will be able to send mail without authentication!
export RELAYNETS= RELAYNETS=
# Will relay all outgoing mails if configured # Will relay all outgoing mails if configured
export RELAYHOST= RELAYHOST=
# Fetchmail delay # Fetchmail delay
export FETCHMAIL_DELAY=600 FETCHMAIL_DELAY=600
# Recipient delimiter, character used to delimiter localpart from custom address part # Recipient delimiter, character used to delimiter localpart from custom address part
export RECIPIENT_DELIMITER=+ RECIPIENT_DELIMITER=+
# DMARC rua and ruf email # DMARC rua and ruf email
export DMARC_RUA=admin DMARC_RUA=admin
export DMARC_RUF=admin DMARC_RUF=admin
# Welcome email, enable and set a topic and body if you wish to send welcome # Welcome email, enable and set a topic and body if you wish to send welcome
# emails to all users. # emails to all users.
export WELCOME=false WELCOME=false
export WELCOME_SUBJECT=Welcome to your new email account WELCOME_SUBJECT=Welcome to your new email account
export WELCOME_BODY="Welcome to your new email account, if you can read this, then it is configured properly!" WELCOME_BODY="Welcome to your new email account, if you can read this, then it is configured properly!"
# Maildir Compression # Maildir Compression
# choose compression-method, default: none (value: bz2, gz) # choose compression-method, default: none (value: bz2, gz)
export COMPRESSION= COMPRESSION=
# change compression-level, default: 6 (value: 1-9) # change compression-level, default: 6 (value: 1-9)
export COMPRESSION_LEVEL= COMPRESSION_LEVEL=
# IMAP full-text search is enabled by default. Set the following variable to off in order to disable the feature. # IMAP full-text search is enabled by default. Set the following variable to off in order to disable the feature.
# FULL_TEXT_SEARCH=off # FULL_TEXT_SEARCH=off
@ -101,19 +101,19 @@ export COMPRESSION_LEVEL=
################################### ###################################
# Path to redirect / to # Path to redirect / to
export WEBROOT_REDIRECT=/webmail WEBROOT_REDIRECT=/webmail
# Path to the admin interface if enabled # Path to the admin interface if enabled
export WEB_ADMIN=/admin WEB_ADMIN=/admin
# Path to the webmail if enabled # Path to the webmail if enabled
export WEB_WEBMAIL=/webmail WEB_WEBMAIL=/webmail
# Website name # Website name
export SITENAME=mymail SITENAME=mymail
# Linked Website URL # Linked Website URL
export WEBSITE=https://$DOMAIN WEBSITE=https://$DOMAIN
################################### ###################################
# Advanced settings # Advanced settings
@ -126,25 +126,25 @@ export WEBSITE=https://$DOMAIN
# LOG_DRIVER=json-file # LOG_DRIVER=json-file
# Docker-compose project name, this will prepended to containers names. # Docker-compose project name, this will prepended to containers names.
export COMPOSE_PROJECT_NAME=mailu COMPOSE_PROJECT_NAME=mailu
# Default password scheme used for newly created accounts and changed passwords # Default password scheme used for newly created accounts and changed passwords
# (value: PBKDF2, BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT) # (value: PBKDF2, BLF-CRYPT, SHA512-CRYPT, SHA256-CRYPT)
export PASSWORD_SCHEME=PBKDF2 PASSWORD_SCHEME=PBKDF2
# Header to take the real ip from # Header to take the real ip from
export REAL_IP_HEADER= REAL_IP_HEADER=
# IPs for nginx set_real_ip_from (CIDR list separated by commas) # IPs for nginx set_real_ip_from (CIDR list separated by commas)
export REAL_IP_FROM= REAL_IP_FROM=
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no) # choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
export REJECT_UNLISTED_RECIPIENT= REJECT_UNLISTED_RECIPIENT=
# Log level threshold in start.py (value: CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET) # Log level threshold in start.py (value: CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET)
export LOG_LEVEL=WARNING LOG_LEVEL=WARNING
################################### ###################################
# Database settings # Database settings
################################### ###################################
export DB_FLAVOR=sqlite DB_FLAVOR=sqlite