- Add RedPanda Console tool,

- Now support docker-tools V 1.3.x.
This commit is contained in:
2024-11-24 23:47:07 +01:00
parent e64e8eb257
commit 607eb5eee3
5 changed files with 116 additions and 69 deletions

View File

@@ -16,16 +16,21 @@ ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"
# Image Settings
#-------------------------------------------------------------------------------
HOST_NAME_PREFIX=""
IMG_NAME="tools"
IMG_NAME_FULL="Rx3-Docker/Tools Docker Image"
IMG_VERSION="1.1.0-mga9"
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
PORT_ENV_OFFSET=0
IMG_URL_PREFIX="${ORG_URL_PREFIX}"
IMG_URL="${IMG_URL_PREFIX}/${IMG_NAME}:${IMG_VERSION}"
PORT_SV_INT=9001
PORT_SV_OFFSET=1000
IMG_FROM_URL="${ORG_URL_PREFIX}/php-apache:1.4.0-mga9"
#------------------+----------+--------------------------+--------------------+------------------+-------------------------------+-----------------+--------------------+---------------+------------+--------------+------------+-------+-------+-------+-------+--------------+--------------+
# | 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 TOOLS tools ${ORG_URL_PREFIX} - "Rx3-Docker/Tools" 1.2.0-mga9 ${ORG_URL_PREFIX} php-apache 1.4.0-mga9 - - 8070 80 8092 8080 apache apache
@@ -33,23 +38,10 @@ IMG_FROM_URL="${ORG_URL_PREFIX}/php-apache:1.4.0-mga9"
# User Settings
#-------------------------------------------------------------------------------
ENV_PORT_OFFSET=0
SV_PORT_OFFSET=1000
TOOLS_LOG_HTTPD_INT="/var/log/httpd"
TOOLS_LOG_HTTPD_EXT="./var/log/httpd"
WEBTOOLS_PORT_MAIN_EXT=$(( 8070 + ${ENV_PORT_OFFSET}))
WEBTOOLS_PORT_MAIN_INT=80
WEBTOOLS_PORT_SV_EXT=$(( ${WEBTOOLS_PORT_MAIN_EXT} + ${SV_PORT_OFFSET}))
WEBTOOLS_PORT_SV_INT=9001
WEBTOOLS_LOG_INIT_DIR="/var/log/init"
WEBTOOLS_LOG_SV_DIR="/var/log/supervisor"
WEBTOOLS_LOG_HTTPD_DIR="/var/log/httpd"
WEBTOOLS_DOC_ROOT="/var/www/html"
APACHE_UID=980
APACHE_GID=977
TOOLS_DOC_ROOT="/var/www/html"
POSTGRESQL_SERVER_NAME="Default"
POSTGRESQL_HOST="127.0.0.1"
@@ -58,3 +50,6 @@ POSTGRESQL_PORT="5342"
MARIADB_SERVER_NAME="Default"
MARIADB_HOST="127.0.0.1"
MARIADB_PORT="3306"
KAFKA_HOST="127.0.0.1"
KAFKA_PORT="9092"