2024-11-11 10:50:01 +01:00
|
|
|
# Rx3-Docker/PHP-Apache Docker Image
|
2024-08-26 22:02:50 +02:00
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
# Global Settings
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
2024-11-11 10:50:01 +01:00
|
|
|
ORG_NAME="rx3-docker"
|
|
|
|
ORG_REGISTRY="docker.xor.rx3:5000"
|
|
|
|
|
|
|
|
ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"
|
2024-08-26 22:02:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
# Image Settings
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
2024-11-11 10:50:01 +01:00
|
|
|
IMG_NAME="php-apache"
|
|
|
|
IMG_NAME_FULL="Rx3-Docker/PHP-Apache Docker Image"
|
|
|
|
IMG_VERSION="1.4.0-mga9"
|
2024-08-22 14:26:42 +02:00
|
|
|
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
2024-08-24 12:57:19 +02:00
|
|
|
|
2024-11-11 10:50:01 +01:00
|
|
|
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"
|
|
|
|
|
2024-08-26 22:02:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
# User Settings
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
2024-10-04 17:43:55 +02:00
|
|
|
ENV_PORT_OFFSET=0
|
|
|
|
SV_PORT_OFFSET=1000
|
|
|
|
|
2024-11-11 10:50:01 +01:00
|
|
|
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
|
2024-10-04 17:43:55 +02:00
|
|
|
|
2024-11-11 23:41:36 +01:00
|
|
|
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"
|
|
|
|
|
2024-08-24 12:57:19 +02:00
|
|
|
APACHE_UID=980
|
|
|
|
APACHE_GID=977
|