Clone from hardware/postfixadmin You can now change mysqli port
504

PostfixAdmin is a web based interface used to manage mailboxes, virtual domains and aliases. It also features support for vacation/out-of-the-office messages.
| Variable | Description | Type | Default value |
|---|---|---|---|
| UID | postfixadmin user id | optional | 991 |
| GID | postfixadmin group id | optional | 991 |
| DBTYPE | PHP connector mysql/mysqli | optional | mysqli |
| DBHOST | MariaDB instance ip/hostname | optional | mariadb |
| DBUSER | MariaDB database username | optional | postfix |
| DBNAME | MariaDB database name | optional | postfix |
| DBPASS | MariaDB database password | required | null |
| SMTPHOST | SMTP server ip/hostname | optional | mailserver |
| DOMAIN | Mail domain | optional | domainname of the container |
https://github.com/hardware/mailserver/wiki/Reverse-proxy-configuration
https://github.com/hardware/mailserver/wiki/Postfixadmin-initial-configuration
postfixadmin:
image: hardware/postfixadmin
container_name: postfixadmin
domainname: domain.tld
hostname: mail
links:
- mariadb:mariadb
environment:
- DBHOST=mariadb
- DBUSER=postfix
- DBNAME=postfix
- DBPASS=xxxxxxx
mariadb:
image: mariadb:10.1
container_name: mariadb
volumes:
- /mnt/docker/mysql/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=xxxx
- MYSQL_DATABASE=postfix
- MYSQL_USER=postfix
- MYSQL_PASSWORD=xxxx
docker-compose up -d
Content type
Image
Digest
Size
29.6 MB
Last updated
over 9 years ago
docker pull anthodingo/postfixadmin