# Rx3-Docker/PHP-Apache Docker Image
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
# Global Settings
#-------------------------------------------------------------------------------


ORG_NAME="rx3-docker"
ORG_REGISTRY="docker.xor.rx3:5000"
ORG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'

ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"



#-------------------------------------------------------------------------------
# Image Settings
#-------------------------------------------------------------------------------
HOST_NAME_PREFIX=""

PORT_ENV_OFFSET=0

PORT_SV_INT=9001
PORT_SV_OFFSET=1000

DOCKER_TOOLS_DEBUG=FALSE
DOCKER_TOOLS_VOLUME=SINGLE
#DOCKER_TOOLS_VOLUME=MERGED
#DOCKER_TOOLS_VOLUME=SPLITED
DOCKER_TOOLS_EXEPTION_LIBS="httpd:/var/www/html"



#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+-----------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+
#                  | Variable | Service                  | Target Image                                                                            | From Image                                      | Module                    | Main Port     | Admin Port    | User         | Group        |
#                  | Prefix   | Name                     | URL Prefix         | Name             | Name Full                     | Version         | URL Prefix         | Name          | Version    | Name         | Version    | Ext   | Int   | Ext   | Int   | Name / Id    | Name / Id    |
#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+-----------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+

docker_service_add   WA         webapp                     ${ORG_URL_PREFIX}    php-apache         "Rx3-Docker/PHP-Apache"         1.5.0-mga9        ${ORG_URL_PREFIX}    server          1.2.0-mga9   httpd          -            8080    80      -       -       apache         apache



#-------------------------------------------------------------------------------
# User Settings
#-------------------------------------------------------------------------------

SERVER_CROND_ENABLED="FALSE"

WA_DOC_ROOT="/var/www/html"