52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
# Rx3-Docker/PHP-Apache Docker Image
|
|
#-------------------------------------------------------------------------------
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# Global Settings
|
|
#-------------------------------------------------------------------------------
|
|
|
|
ORG_NAME="rx3-docker"
|
|
ORG_REGISTRY="docker.xor.rx3:5000"
|
|
|
|
ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# Image Settings
|
|
#-------------------------------------------------------------------------------
|
|
|
|
IMG_NAME="php-apache"
|
|
IMG_NAME_FULL="Rx3-Docker/PHP-Apache Docker Image"
|
|
IMG_VERSION="1.4.0-mga9"
|
|
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
|
|
|
IMG_URL_PREFIX="${ORG_URL_PREFIX}"
|
|
IMG_URL="${IMG_URL_PREFIX}/${IMG_NAME}:${IMG_VERSION}"
|
|
|
|
IMG_FROM_URL="${ORG_URL_PREFIX}/server:1.2.0-mga9"
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# User Settings
|
|
#-------------------------------------------------------------------------------
|
|
|
|
ENV_PORT_OFFSET=0
|
|
SV_PORT_OFFSET=1000
|
|
|
|
WEBAPP_PORT_MAIN_EXT=$(( 8080 + ${ENV_PORT_OFFSET}))
|
|
WEBAPP_PORT_MAIN_INT=80
|
|
|
|
WEBAPP_PORT_SV_EXT=$(( ${WEBAPP_PORT_MAIN_EXT} + ${SV_PORT_OFFSET}))
|
|
WEBAPP_PORT_SV_INT=9001
|
|
|
|
WEBAPP_LOG_INIT_DIR="/var/log/init"
|
|
WEBAPP_LOG_SV_DIR="/var/log/supervisor"
|
|
WEBAPP_LOG_HTTPD_DIR="/var/log/httpd"
|
|
|
|
WEBAPP_DOC_ROOT="/var/www/html"
|
|
|
|
APACHE_UID=980
|
|
APACHE_GID=977
|