Skip to content

Commit 94ede91

Browse files
authored
updated readme with skim envrioment variables
1 parent e5e24ad commit 94ede91

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ You can also set the postfix host and port.
6969
* POSTFIXADMIN\_SMTP\_SERVER=... - localhost per default
7070
* POSTFIXADMIN\_SMTP\_PORT=... - 25 per default
7171

72+
You can enable DKIM through the following enviroment variables
73+
* POSTFIXADMIN\_DKIM=... - YES/NO
74+
* POSTFIXADMIN\_DKIM\_ALL\_ADMINS=... - YES/NO
75+
7276
### Using Docker secrets
7377

7478
As an alternative to passing sensitive information via environment variables, `_FILE` may be appended to some of the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/<secret_name> files. For example:
@@ -93,6 +97,8 @@ docker run -e POSTFIXADMIN_DB_TYPE=mysqli \
9397
-e POSTFIXADMIN_SMTP_SERVER=postfix \
9498
-e POSTFIXADMIN_SMTP_PORT=25 \
9599
-e POSTFIXADMIN_ENCRYPT=md5crypt \
100+
-e POSTFIXADMIN_DKIM=YES \
101+
-e POSTFIXADMIN_DKIM_ALL_ADMINS=NO \
96102
--name postfixadmin \
97103
-p 8080:80 \
98104
postfixadmin-image

0 commit comments

Comments
 (0)