@@ -11,7 +11,7 @@ PostfixAdmin is a web based interface used to manage mailboxes, virtual domains
11
11
- Lightweight & secure image (no root process)
12
12
- Based on Alpine Linux
13
13
- Latest Postfixadmin version (3.1)
14
- - MySQL/Mariadb driver
14
+ - MariaDB/PostgreSQL driver
15
15
- With PHP7
16
16
17
17
### Built-time variables
@@ -30,10 +30,12 @@ PostfixAdmin is a web based interface used to manage mailboxes, virtual domains
30
30
| -------- | ----------- | ---- | ------------- |
31
31
| ** UID** | postfixadmin user id | * optional* | 991
32
32
| ** 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
37
39
| ** SMTPHOST** | SMTP server ip/hostname | * optional* | mailserver
38
40
| ** DOMAIN** | Mail domain | * optional* | ` domainname ` value
39
41
| ** ENCRYPTION** | Passwords encryption method | * optional* | ` dovecot:SHA512-CRYPT `
@@ -56,7 +58,7 @@ postfixadmin:
56
58
- DBPASS=xxxxxxx
57
59
depends_on :
58
60
- mailserver
59
- - mariadb
61
+ - mariadb # postgres (adjust accordingly)
60
62
` ` `
61
63
62
64
### How to setup
0 commit comments