2024-11-11 19:25:48 +01:00
|
|
|
# Rx3-Docker/Tools Docker Image
|
2024-09-04 16:30:27 +02:00
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
2024-11-24 23:47:07 +01:00
|
|
|
name: ${HOST_NAME_PREFIX}
|
2024-09-04 16:30:27 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
|
2024-10-29 20:06:35 +01:00
|
|
|
webtools:
|
2024-11-24 23:47:07 +01:00
|
|
|
container_name: ${TOOLS_HOST_NAME}
|
|
|
|
hostname: ${TOOLS_HOST_NAME}
|
2024-09-04 16:30:27 +02:00
|
|
|
|
2024-11-24 23:47:07 +01:00
|
|
|
image: ${TOOLS_IMG_URL}
|
2024-09-04 16:30:27 +02:00
|
|
|
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
args:
|
2024-11-24 23:47:07 +01:00
|
|
|
IMG_NAME: ${TOOLS_IMG_NAME}
|
|
|
|
IMG_NAME_FULL: ${TOOLS_IMG_NAME_FULL}
|
|
|
|
IMG_VERSION: ${TOOLS_IMG_VERSION}
|
|
|
|
IMG_MAINTAINER: ${TOOLS_IMG_MAINTAINER}
|
|
|
|
IMG_FROM_URL: ${TOOLS_IMG_FROM_URL}
|
2024-11-11 23:55:12 +01:00
|
|
|
|
2024-11-24 23:47:07 +01:00
|
|
|
APACHE_DOC_ROOT: ${TOOLS_DOC_ROOT}
|
|
|
|
REDPANDA_CONSOLE_PORT: ${TOOLS_PORT_ADMIN_INT}
|
2024-09-04 16:30:27 +02:00
|
|
|
|
2024-11-24 23:47:07 +01:00
|
|
|
restart: unless-stopped
|
2024-09-04 16:30:27 +02:00
|
|
|
|
|
|
|
environment:
|
2024-11-24 23:47:07 +01:00
|
|
|
APACHE_DOC_ROOT: ${TOOLS_DOC_ROOT}
|
|
|
|
|
|
|
|
POSTGRESQL_SERVER_NAME: ${POSTGRESQL_SERVER_NAME}
|
|
|
|
POSTGRESQL_HOST: ${POSTGRESQL_HOST}
|
|
|
|
POSTGRESQL_PORT: ${POSTGRESQL_PORT}
|
|
|
|
|
|
|
|
MARIADB_SERVER_NAME: ${MARIADB_SERVER_NAME}
|
|
|
|
MARIADB_HOST: ${MARIADB_HOST}
|
|
|
|
MARIADB_PORT: ${MARIADB_PORT}
|
|
|
|
|
|
|
|
KAFKA_BROKERS: ${KAFKA_HOST}:${KAFKA_PORT}
|
2024-09-04 16:30:27 +02:00
|
|
|
|
2024-11-11 23:55:12 +01:00
|
|
|
healthcheck:
|
2024-11-24 23:47:07 +01:00
|
|
|
test: ["CMD", "curl", "-f", "http://localhost:${TOOLS_PORT_MAIN_INT}"]
|
|
|
|
interval: 10s
|
|
|
|
timeout: 3s
|
|
|
|
retries: 3
|
2024-11-11 23:55:12 +01:00
|
|
|
|
|
|
|
volumes:
|
2024-11-24 23:47:07 +01:00
|
|
|
# - ./var/www/html:${TOOLS_DOC_ROOT}
|
|
|
|
- .${TOOLS_LOG_INIT_EXT}:${TOOLS_LOG_INIT_INT}
|
|
|
|
- .${TOOLS_LOG_SV_EXT}:${TOOLS_LOG_SV_INT}
|
|
|
|
- .${TOOLS_LOG_HTTPD_EXT}:${TOOLS_LOG_HTTPD_INT}
|
2024-11-11 23:55:12 +01:00
|
|
|
|
2024-09-04 16:30:27 +02:00
|
|
|
ports:
|
2024-11-24 23:47:07 +01:00
|
|
|
- "127.0.0.1:${TOOLS_PORT_SV_EXT}:${TOOLS_PORT_SV_INT}"
|
|
|
|
- "127.0.0.1:${TOOLS_PORT_MAIN_EXT}:${TOOLS_PORT_MAIN_INT}"
|
|
|
|
- "127.0.0.1:${TOOLS_PORT_ADMIN_EXT}:${TOOLS_PORT_ADMIN_INT}"
|