mirror of
https://github.com/casjaysdevdocker/postfix
synced 2026-07-25 08:11:39 -04:00
6c62dde49a234577aa7296744b253ce3ea7c2eeb
postfix / release-postfix (push) Failing after 13m39s
The grep -vF line that appends /usr/local/etc/hosts entries had a duplicate 2>/dev/null redirect after the append operator, which is a no-op but clutters the script. Synced from template. - rootfs/usr/local/bin/entrypoint.sh: remove duplicate 2>/dev/null from grep -vF /etc/hosts append line; bump version to 202606261500-git rootfs/usr/local/bin/entrypoint.sh
👋 Welcome to postfix 🚀
postfix README
Install my system scripts
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
sudo systemmgr --config && sudo systemmgr install scripts
Automatic install/update
dockermgr update postfix
Install and run container
dockerHome="/var/lib/srv/$USER/docker/casjaysdevdocker/postfix/postfix/latest/rootfs"
mkdir -p "/var/lib/srv/$USER/docker/postfix/rootfs"
git clone "https://github.com/dockermgr/postfix" "$HOME/.local/share/CasjaysDev/dockermgr/postfix"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/postfix/rootfs/." "$dockerHome/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-postfix-latest \
--hostname postfix \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$dockerHome/data:/data:z" \
-v "$dockerHome/config:/config:z" \
-p 80:80 \
casjaysdevdocker/postfix:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/postfix
container_name: casjaysdevdocker-postfix
environment:
- TZ=America/New_York
- HOSTNAME=postfix
volumes:
- "/var/lib/srv/$USER/docker/casjaysdevdocker/postfix/postfix/latest/rootfs/data:/data:z"
- "/var/lib/srv/$USER/docker/casjaysdevdocker/postfix/postfix/latest/rootfs/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/postfix
OR
git clone "https://github.com/casjaysdevdocker/postfix" "$HOME/Projects/github/casjaysdevdocker/postfix"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/postfix"
buildx
Authors
Description
Languages
Shell
94.4%
Dockerfile
5.6%