Production ready Docker container for PostfixAdmin with MySQL usage.
sudo docker run \
-p 80:80 \
-v ./folder-with-php-config-files:/config \
-e MYSQL_HOST=db \
-e MYSQL_USER=postfix \
-e MYSQL_PASSWORD=password \
-e MYSQL_DATABASE=postfix \
-e [email protected] - username is actually an email address to login to postfixadmin - THE admin account \
-e ADMIN_PASSWORD=password - password for the admin account - must contain AT LEAST two digits \
-e PA_DOMAIN_PATH=YES \
konjak/postfixadmin
All provided env vars starting with PA_ will be converted to config values for postfixadmin.
It's also possible to mount a folder with php config files to /config. All *.php files in this folder will be executed after the base config.
Production stable.
Content type
Image
Digest
Size
38 MB
Last updated
about 9 years ago
docker pull konjak/postfixadmin