casjay 12d84cb222
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
2025-01-10 23:16:57 -05:00
2025-01-10 23:16:57 -05:00
🦈🏠🐜 Initial Commit 🐜🦈🏠
2024-10-22 10:52:49 -04:00
🦈🏠🐜 Initial Commit 🐜🦈🏠
2024-10-22 10:52:49 -04:00
🦈🏠🐜 Initial Commit 🐜🦈🏠
2024-10-22 10:52:49 -04:00
🦈🏠🐜 Initial Commit 🐜🦈🏠
2024-10-22 10:52:49 -04:00
🦈🏠🐜 Initial Commit 🐜🦈🏠
2024-10-22 10:52:49 -04:00
🦈🏠🐜 Initial Commit 🐜🦈🏠
2024-10-22 10:52:49 -04:00
🦈🏠🐜 Initial Commit 🐜🦈🏠
2024-10-22 10:52:49 -04:00

👋 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/rootfs"
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/rootfs/"
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/rootfs/data:/data" \
  -v "$HOME/.local/share/CasjaysDev/dockermgr/postfix/rootfs/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/rootfs/data:/data"
            - "$HOME/.local/share/CasjaysDev/dockermgr/postfix/rootfs/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

🤖 casjay: Github 🤖
casjaysdevdocker: Github Docker

Description
Repo for postfix
Readme 78 KiB
Languages
Shell 91.3%
Dockerfile 8.7%