mirror of
https://github.com/casjaysdevdocker/bind
synced 2026-06-24 02:01:03 -04:00
8c510016c3
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. .claude/ Dockerfile .env.scripts .gitattributes .gitea/workflows/docker.yaml .gitignore LICENSE.md rootfs/root/docker/setup/00-init.sh rootfs/root/docker/setup/01-system.sh rootfs/root/docker/setup/02-packages.sh rootfs/root/docker/setup/03-files.sh rootfs/root/docker/setup/04-users.sh rootfs/root/docker/setup/05-custom.sh rootfs/root/docker/setup/06-post.sh rootfs/root/docker/setup/07-cleanup.sh rootfs/tmp/etc/bind/named.conf rootfs/tmp/etc/nginx/fastcgi_params rootfs/tmp/etc/nginx/nginx.conf rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/bin/pkmgr rootfs/usr/local/etc/docker/functions/entrypoint.sh 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 rootfs/usr/local/share/template-files/config/env/default.sample rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
85 lines
3.5 KiB
Bash
85 lines
3.5 KiB
Bash
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
##@Version : 202605051439-git
|
|
# @@Author : CasjaysDev
|
|
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
|
|
# @@License : MIT
|
|
# @@Copyright : Copyright 2026 CasjaysDev
|
|
# @@Created : Tue May 5 02:39:59 PM EDT 2026
|
|
# @@File : .env.scripts
|
|
# @@Description : Variables for gen-dockerfile and buildx scripts
|
|
# @@Changelog : newScript
|
|
# @@TODO : Refactor code
|
|
# @@Other : N/A
|
|
# @@Resource : N/A
|
|
# @@Terminal App : yes
|
|
# @@sudo/root : yes
|
|
# @@Template : templates/dockerfiles/dotenv.template
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# shellcheck disable=SC1001,SC1003,SC2001,SC2003,SC2016,SC2031,SC2090,SC2115,SC2120,SC2155,SC2199,SC2229,SC2317,SC2329
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# entrypoint Settings
|
|
DOCKER_ENTYPOINT_PORTS_WEB="${DOCKER_ENTYPOINT_PORTS_WEB}"
|
|
DOCKER_ENTYPOINT_PORTS_SRV="${DOCKER_ENTYPOINT_PORTS_SRV}"
|
|
DOCKER_ENTYPOINT_HEALTH_APPS="$DOCKER_ENTYPOINT_HEALTH_APPS"
|
|
DOCKER_ENTYPOINT_HEALTH_ENDPOINTS="$DOCKER_ENTYPOINT_HEALTH_ENDPOINTS"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Dockerfile info
|
|
ENV_DOCKERFILE="Dockerfile"
|
|
# ENV_REGISTRY_REPO: Registry repository/image name
|
|
ENV_REGISTRY_REPO="bind"
|
|
ENV_USE_TEMPLATE="alpine"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Maintainer info
|
|
ENV_REGISTRY_ORG="casjaysdevdocker"
|
|
ENV_VENDOR="CasjaysDev"
|
|
ENV_AUTHOR="CasjaysDev"
|
|
ENV_MAINTAINER="CasjaysDev <docker-admin@casjaysdev.pro>"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Repository URLs (Full URLs)
|
|
# ENV_GIT_REPO_URL: Complete Git repository URL for source code
|
|
ENV_GIT_REPO_URL="https://github.com/casjaysdevdocker/bind"
|
|
# ENV_REGISTRY_URL: Registry provider base URL (for example https://docker.io)
|
|
ENV_REGISTRY_URL="https://docker.io"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Push Configuration
|
|
# ENV_REGISTRY_PUSH: Complete push destination derived from registry/org/repo
|
|
ENV_REGISTRY_PUSH="casjaysdevdocker/bind"
|
|
# ENV_IMAGE_TAG: Default tag for the image
|
|
ENV_IMAGE_TAG="latest"
|
|
# ENV_ADD_TAGS: Additional tags, comma-separated (USE_DATE = auto date tag)
|
|
ENV_ADD_TAGS=""
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Additional push destinations (if needed)
|
|
ENV_ADD_IMAGE_PUSH=""
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Pull Configuration
|
|
# ENV_PULL_URL: Source image to pull from (base image)
|
|
ENV_PULL_URL="casjaysdev/alpine"
|
|
# ENV_DISTRO_TAG: Tag for the pull source image
|
|
ENV_DISTRO_TAG="${IMAGE_VERSION}"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Env
|
|
SERVICE_PORT="80"
|
|
EXPOSE_PORTS="53/tcp 53/udp"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# IF using a lanuage such as go, php, rust, ruby, etc set the version here.
|
|
LANG_VERSION=""
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Versions
|
|
PHP_VERSION="php82"
|
|
NODE_VERSION="system"
|
|
NODE_MANAGER="system"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Default directories
|
|
WWW_ROOT_DIR="/usr/local/share/httpd/default"
|
|
DEFAULT_FILE_DIR="/usr/local/share/template-files"
|
|
DEFAULT_DATA_DIR="/usr/local/share/template-files/data"
|
|
DEFAULT_CONF_DIR="/usr/local/share/template-files/config"
|
|
DEFAULT_TEMPLATE_DIR="/usr/local/share/template-files/defaults"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
ENV_PACKAGES="bind bind-tools bind-dnssec-root bind-plugins nginx \${PHP_VERSION}-fpm tor"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# ex: ts=2 sw=2 et filetype=sh
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|