mirror of
https://github.com/casjaysdevdocker/bind
synced 2026-05-20 04:17:00 -04:00
1a111443939fddc312761ce5fac83ccfde81bf19
Some checks failed
bind / release-bind (push) Has been cancelled
Fix SERVICE_USES_PID in all 4 init.d scripts (was '' empty, must be 'yes' for long-running daemons). Add TEMPLATE.md documenting the multi-service stack. No services removed — bind ships tor + named + nginx + php-fpm. - rootfs/usr/local/etc/docker/init.d/01-tor.sh: SERVICE_USES_PID='' -> 'yes' (tor is a long-running daemon) - rootfs/usr/local/etc/docker/init.d/02-named.sh: SERVICE_USES_PID='' -> 'yes' (named is a long-running daemon) - rootfs/usr/local/etc/docker/init.d/03-nginx.sh: SERVICE_USES_PID='' -> 'yes' (nginx is a long-running daemon) - rootfs/usr/local/etc/docker/init.d/04-php-fpm.sh: SERVICE_USES_PID='' -> 'yes' (php-fpm is a long-running daemon) - TEMPLATE.md: new file documenting bind service stack (tor, named, nginx, php-fpm), init.d scripts, config files, migration notes rootfs/usr/local/etc/docker/init.d/01-tor.sh rootfs/usr/local/etc/docker/init.d/02-named.sh rootfs/usr/local/etc/docker/init.d/03-nginx.sh rootfs/usr/local/etc/docker/init.d/04-php-fpm.sh TEMPLATE.md
👋 Welcome to bind 🚀
bind 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 bind
Install and run container
dockerHome="/var/lib/srv/$USER/docker/casjaysdevdocker/bind/bind/latest/rootfs"
mkdir -p "/var/lib/srv/$USER/docker/bind/rootfs"
git clone "https://github.com/dockermgr/bind" "$HOME/.local/share/CasjaysDev/dockermgr/bind"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/bind/rootfs/." "$dockerHome/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-bind-latest \
--hostname bind \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$dockerHome/data:/data:z" \
-v "$dockerHome/config:/config:z" \
-p 80:80 \
casjaysdevdocker/bind:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/bind
container_name: casjaysdevdocker-bind
environment:
- TZ=America/New_York
- HOSTNAME=bind
volumes:
- "/var/lib/srv/$USER/docker/casjaysdevdocker/bind/bind/latest/rootfs/data:/data:z"
- "/var/lib/srv/$USER/docker/casjaysdevdocker/bind/bind/latest/rootfs/config:/config:z"
ports:
- 80:80
restart: always
Get source files
dockermgr download src casjaysdevdocker/bind
OR
git clone "https://github.com/casjaysdevdocker/bind" "$HOME/Projects/github/casjaysdevdocker/bind"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/bind"
buildx
Authors
Description
Languages
Shell
80.3%
JavaScript
11%
CSS
3.2%
Dockerfile
3%
PHP
1.8%
Other
0.7%