A graphical user interface for managing Docker Mailserver. The application allows easy management of email accounts, aliases, and monitoring of server status.
- 📊 Dashboard with server status information
- 👤 Email account management (add, delete)
↔️ Email alias management- 🔧 Docker Mailserver connection configuration
- 🌐 Multilingual support (English, Polish)
docker run -d \
--name mailserver-gui \
-p 80:80 \
-e DOCKER_CONTAINER=mailserver \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
dunajdev/docker-mailserver-gui:latestThe application will be available at http://localhost
DOCKER_CONTAINER: Name of your docker-mailserver container (required)PORT: Internal port for the Node.js server (defaults to 3001)NODE_ENV: Node.js environment (defaults to production)
- Running docker-mailserver container
- Docker socket access
The Docker image includes:
- React frontend served by Nginx
- Node.js backend API
- Docker client for communicating with docker-mailserver
When the container starts:
- The backend Node.js server runs on port 3001 inside the container
- Nginx serves the frontend static files
- Nginx proxies API requests (/api/*) to the Node.js backend
- The backend communicates with your docker-mailserver container via Docker API
- Ensure the docker-mailserver container is running
- Check that the container name matches the
DOCKER_CONTAINERenvironment variable - Check that the
/var/run/docker.sockvolume is correctly mounted - Verify that your host user has permissions to access the Docker socket
- Check that the Docker socket is correctly mounted in the container
- Ensure your user has permissions to access the Docker socket
- The container has access to the Docker socket, which is a security risk. Make sure to restrict access to the container.
- Consider setting up HTTPS for production deployments
- Add authentication to the web interface for production use
MIT