parent
b06345189e
commit
319e5a3e6c
@ -0,0 +1,28 @@
|
||||
version: '3.3'
|
||||
services:
|
||||
iredmail:
|
||||
container_name: iredmail
|
||||
hostname: mail.mydomain.com
|
||||
ports:
|
||||
- '80:80'
|
||||
- '443:443'
|
||||
- '110:110'
|
||||
- '995:995'
|
||||
- '143:143'
|
||||
- '993:993'
|
||||
- '25:25'
|
||||
- '465:465'
|
||||
- '587:587'
|
||||
volumes:
|
||||
- 'iredmail_backup-mysql:/var/vmail/backup/mysql'
|
||||
- 'iredmail_mailboxes:/var/vmail/vmail1'
|
||||
- 'iredmail_mlmmj:/var/vmail/mlmmj'
|
||||
- 'iredmail_mlmmj_archive:/var/vmail/mlmmj-archive'
|
||||
- 'iredmail_imapsieve_copy:/var/vmail/imapsieve_copy'
|
||||
- 'iredmail_custom:/opt/iredmail/custom'
|
||||
- 'iredmail_ssl:/opt/iredmail/ssl'
|
||||
- 'iredmail_mysql:/var/lib/mysql'
|
||||
- 'iredmail_clamav:/var/lib/clamav'
|
||||
- 'iredmail_sa_rules:/var/lib/spamassassin'
|
||||
- 'iredmail_postfix_queue:/var/spool/postfix'
|
||||
image: 'iredmail/mariadb:stable'
|
||||
@ -0,0 +1,5 @@
|
||||
HOSTNAME=mail.mydomain.com >> iredmail-docker.conf
|
||||
FIRST_MAIL_DOMAIN=mydomain.com >> iredmail-docker.conf
|
||||
FIRST_MAIL_DOMAIN_ADMIN_PASSWORD=my-secret-password >> iredmail-docker.conf
|
||||
MLMMJADMIN_API_TOKEN=$(openssl rand -base64 32) >> iredmail-docker.conf
|
||||
ROUNDCUBE_DES_KEY=$(openssl rand -base64 24) >> iredmail-docker.conf
|
||||
@ -0,0 +1,23 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
mail-autodiscover-autoconfig:
|
||||
image: wdes/mail-autodiscover-autoconfig:latest
|
||||
mem_limit: 120M
|
||||
mem_reservation: 50M
|
||||
restart: on-failure:40
|
||||
ports:
|
||||
- "8088:80"
|
||||
environment:
|
||||
ROCKET_PROFILE: production
|
||||
ROCKET_ADDRESS: "0.0.0.0"
|
||||
ROCKET_PORT: "80"
|
||||
# https://www.uuidgenerator.net/
|
||||
# Re-generate the two UUIDs below
|
||||
APPLE_MAIL_UUID: ff83a13b-c4e6-41c5-bf54-0a244bb3bf5d
|
||||
APPLE_PROFILE_UUID: b8e39daa-64a3-4928-bb86-cb4b551fdd57
|
||||
# CUSTOM_DOMAINS: foo.tld
|
||||
# (optional: CUSTOM_DOMAINS) List of domains that will use {imap,pop,smtp}.domain.tld instead of the hosts below
|
||||
IMAP_HOSTNAME: imap.mails.provider.tld
|
||||
POP_HOSTNAME: pop.mails.provider.tld
|
||||
SMTP_HOSTNAME: smtp.mails.provider.tld
|
||||
Loading…
Reference in new issue