Proxmox Mail Gateway inside a Docker container.
3.7K
Proxmox Mail Gateway inside a Docker container.
services:
pmg:
hostname: pmg
container_name: pmg
image: dockurr/proxmox-mail
environment:
TZ: "UTC"
PASSWORD: "root"
DOMAIN: "pmg.example.com"
ports:
- 25:25
- 26:26
- 8006:8006
volumes:
- ./config:/etc/pmg
- ./data:/var/lib/pmg
- ./spool:/var/spool/pmg
- ./postgres:/var/lib/postgresql
restart: always
stop_grace_period: 2m
docker run -it --rm --name pmg --hostname pmg -e "PASSWORD=root" -e "DOMAIN=pmg.example.com" -p 25:25 -p 26:26 -p 8006:8006 -v "${PWD:-.}/config:/etc/pmg" -v "${PWD:-.}/data:/var/lib/pmg" -v "${PWD:-.}/spool:/var/spool/pmg" -v "${PWD:-.}/postgres:/var/lib/postgresql" --stop-timeout 120 docker.io/dockurr/proxmox-mail
Very simple! These are the steps:
Start the container and connect to port 8006 using your web browser.
Login using the username root and the password you specified in the PASSWORD environment variable.
Enjoy your time with your brand new Proxmox Mail Gateway, and don't forget to star this repo!
To change the location of the configuration data, include the following four bind mounts in your compose file:
volumes:
- ./config:/etc/pmg
- ./data:/var/lib/pmg
- ./spool:/var/spool/pmg
- ./postgres:/var/lib/postgresql
Replace the example paths with the desired folders or named volumes.
Yes, see our Proxmox VE, Proxmox Backup Server and Proxmox Datacenter Manager containers.
The product names, logos, brands, and other trademarks referred to within this project are the property of their respective trademark holders. This project is not affiliated, sponsored, or endorsed by Proxmox Server Solutions GmbH.
Content type
Image
Digest
sha256:a06e6a8e0…
Size
251.9 MB
Last updated
10 days ago
docker pull dockurr/proxmox-mailPulls:
974
Jun 29 to Jul 5