A minimal Docker image for running PostfixAdmin, a web-based administration interface for mail servers. Easily deploy PostfixAdmin with your own configuration and connect to any external database.
A ready-to-use Docker image is available on Docker Hub: https://hub.docker.com/r/itefixnet/postfixadmin
You can run PostfixAdmin using Docker with your own external database.
-
Copy or edit the provided
config.local.phpfile in this repository to match your environment. -
Run the container:
docker run -d \
-p 8080:80 \
-v "$PWD/config.local.php:/var/www/html/config.local.php:ro" \
--name postfixadmin \
itefixnet/postfixadmin:latest- Access PostfixAdmin at
http://localhost:8080/setup.phpto complete the installation.
If you want to build the Docker image yourself instead of using the pre-built image from Docker Hub, run:
docker build -t postfixadmin-local .You can then use your local image by replacing itefixnet/postfixadmin:latest with postfixadmin-local in the run command.
