mirror of
https://github.com/casjaysdevdocker/bind
synced 2024-11-22 11:23:09 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/init.d/03-php-fpm.sh
This commit is contained in:
parent
7faed19ed2
commit
8b53f6e769
@ -78,8 +78,8 @@ unset set_env
|
|||||||
RUNAS_USER="root" # normally root
|
RUNAS_USER="root" # normally root
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# User and group in which the service switches to - IE: nginx,apache,mysql,postgres
|
# User and group in which the service switches to - IE: nginx,apache,mysql,postgres
|
||||||
SERVICE_USER="bind" # execute command as another user
|
SERVICE_USER="named" # execute command as another user
|
||||||
SERVICE_GROUP="bind" # Set the service group
|
SERVICE_GROUP="named" # Set the service group
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Set user and group ID
|
# Set user and group ID
|
||||||
SERVICE_UID="0" # set the user id
|
SERVICE_UID="0" # set the user id
|
||||||
@ -92,9 +92,9 @@ WEB_SERVER_PORT="" # port : 80,443
|
|||||||
SERVER_PORTS="" # specifiy other ports
|
SERVER_PORTS="" # specifiy other ports
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Healthcheck variables
|
# Healthcheck variables
|
||||||
HEALTH_ENABLED="yes" # enable healthcheck [yes/no]
|
HEALTH_ENABLED="yes" # enable healthcheck [yes/no]
|
||||||
SERVICES_LIST="tini,bind,nginx,php-fpm" # comma seperated list of processes for the healthcheck
|
SERVICES_LIST="tini,named,nginx,php-fpm" # comma seperated list of processes for the healthcheck
|
||||||
HEALTH_ENDPOINTS="" # url endpoints: [http://localhost/health,http://localhost/test]
|
HEALTH_ENDPOINTS="" # url endpoints: [http://localhost/health,http://localhost/test]
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Update path var
|
# Update path var
|
||||||
export PATH RUNAS_USER SERVICE_USER SERVICE_GROUP SERVICE_UID SERVICE_GID WWW_ROOT_DIR DATABASE_DIR
|
export PATH RUNAS_USER SERVICE_USER SERVICE_GROUP SERVICE_UID SERVICE_GID WWW_ROOT_DIR DATABASE_DIR
|
||||||
|
@ -79,8 +79,8 @@ DATABASE_DIR="$DATABASE_BASE_DIR/$DATABASE_SUBDIR"
|
|||||||
WWW_ROOT_DIR="/usr/share/httpd/default"
|
WWW_ROOT_DIR="/usr/share/httpd/default"
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Default predefined variables
|
# Default predefined variables
|
||||||
DATA_DIR="/data/php-fpm" # set data directory
|
DATA_DIR="/data/php" # set data directory
|
||||||
CONF_DIR="/config/php" # set config directory
|
CONF_DIR="/config/php" # set config directory
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# set the containers etc directory
|
# set the containers etc directory
|
||||||
ETC_DIR="/etc/php"
|
ETC_DIR="/etc/php"
|
||||||
@ -88,9 +88,9 @@ ETC_DIR="/etc/php"
|
|||||||
# set the var dir
|
# set the var dir
|
||||||
VAR_DIR=""
|
VAR_DIR=""
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
TMP_DIR="/tmp/php-fpm" # set the temp dir
|
TMP_DIR="/tmp/php" # set the temp dir
|
||||||
RUN_DIR="/run/php-fpm" # set scripts pid dir
|
RUN_DIR="/run/php" # set scripts pid dir
|
||||||
LOG_DIR="/data/logs/php-fpm" # set log directory
|
LOG_DIR="/data/logs/php" # set log directory
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Set the working dir
|
# Set the working dir
|
||||||
WORK_DIR=""
|
WORK_DIR=""
|
||||||
|
Loading…
Reference in New Issue
Block a user