@@ -11,7 +11,7 @@ PostfixAdmin is a web based interface used to manage mailboxes, virtual domains
1111- Lightweight & secure image (no root process)
1212- Based on Alpine Linux
1313- Latest Postfixadmin version (3.1)
14- - MySQL/Mariadb driver
14+ - MariaDB/PostgreSQL driver
1515- With PHP7
1616
1717### Built-time variables
@@ -30,10 +30,12 @@ PostfixAdmin is a web based interface used to manage mailboxes, virtual domains
3030| -------- | ----------- | ---- | ------------- |
3131| ** UID** | postfixadmin user id | * optional* | 991
3232| ** GID** | postfixadmin group id | * optional* | 991
33- | ** DBHOST** | MariaDB instance ip/hostname | * optional* | mariadb
34- | ** DBUSER** | MariaDB database username | * optional* | postfix
35- | ** DBNAME** | MariaDB database name | * optional* | postfix
36- | ** DBPASS** | MariaDB database password or location of a file containing it | ** required** | null
33+ | ** DBDRIVER** | Database type: mysql, pgsql | optional | mysql
34+ | ** DBHOST** | Database instance ip/hostname | * optional* | mariadb
35+ | ** DBPORT** | Database instance port ** DOES NOT WORK ON MYSQL FOR NOW** | optional | 3306
36+ | ** DBUSER** | Database database username | * optional* | postfix
37+ | ** DBNAME** | Database database name | * optional* | postfix
38+ | ** DBPASS** | Database database password or location of a file containing it | ** required** | null
3739| ** SMTPHOST** | SMTP server ip/hostname | * optional* | mailserver
3840| ** DOMAIN** | Mail domain | * optional* | ` domainname ` value
3941| ** ENCRYPTION** | Passwords encryption method | * optional* | ` dovecot:SHA512-CRYPT `
@@ -56,7 +58,7 @@ postfixadmin:
5658 - DBPASS=xxxxxxx
5759 depends_on :
5860 - mailserver
59- - mariadb
61+ - mariadb # postgres (adjust accordingly)
6062` ` `
6163
6264### How to setup
0 commit comments