mirror of
https://github.com/casjaysdevdocker/postfix
synced 2026-06-23 20:01:00 -04:00
f2f7dc34d739a6988512f89585ae8fe486d727f3
Update the embedded entrypoint copies in rootfs/ to match the upstream template change. Internal state files renamed to dotfiles so they're not matched by `/run/*.pid` cleanup globs: - /run/init.d/entrypoint.pid -> /run/.entrypoint.pid - /run/no_exit.pid -> /run/.no_exit.pid - /run/backup.pid -> /run/.backup.pid - /run/__start_init_scripts.pid -> /run/.start_init_scripts.pid Per-service PIDs in /run/init.d/ are unchanged. rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/etc/docker/init.d/01-postfix.sh rootfs/usr/local/etc/docker/init.d/09-supervisord.sh rootfs/usr/local/share/template-files/config/env/default.sample rootfs/usr/local/share/template-files/config/env/examples/zz-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
mkdir -p "$HOME/.local/share/srv/docker/postfix/volumes"
git clone "https://github.com/dockermgr/postfix" "$HOME/.local/share/CasjaysDev/dockermgr/postfix"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/postfix/rootfs/." "$HOME/.local/share/srv/docker/postfix/volumes/"
docker run -d \
--name casjaysdevdocker-postfix-latest \
--hostname $HOSTNAME \
-e "HOSTNAME=$HOSTNAME" \
-e "DOMAINS=example.com,example2.com" \
-v "$HOME/.local/share/CasjaysDev/dockermgr/postfix/volumes/data:/data" \
-v "$HOME/.local/share/CasjaysDev/dockermgr/postfix/volumes/config:/config" \
-p 25:25 \
casjaysdevdocker/postfix:latest
via docker-compose
version: '3.9'
services:
postfix:
privileged: true
hostname: $HOSTNAME
image: 'casjaysdevdocker/postfix:latest'
container_name: casjaysdevdocker-postfix-latest
ports:
- '25:25'
volumes:
- "$HOME/.local/share/CasjaysDev/dockermgr/postfix/volumes/data:/data"
- "$HOME/.local/share/CasjaysDev/dockermgr/postfix/volumes/config:/config"
environment:
- "HOSTNAME=$HOSTNAME"
- "DOMAINS=example.com,example2.com"
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
93.9%
Dockerfile
6.1%