- Now use rx3-docker/php-apache:1.7.0-mga9, rx3-docker/mariadb:1.2.0-mga9 & rx3-docker/tools:1.4.0-mga9 images,
- Now use docker-tools-1.5.2, - Enable cron daemon to clean-up dead php sessions, - Update APPL_GROUP name to "etc", - Add healcheck to web-server, tools & webapp services, - Rebuild for updates.
This commit is contained in:
20
compose.yaml
20
compose.yaml
@@ -40,6 +40,12 @@ services:
|
||||
|
||||
ENV_NET_SED: "${ENV_NET_SED}"
|
||||
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:${WS_PORT_MAIN_INT}/"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
|
||||
volumes:
|
||||
# - ./${WS_CONF_EXT}:${WS_CONF_INT}
|
||||
# - ./${WS_LIB_EXT}:${WS_LIB_INT}
|
||||
@@ -111,6 +117,8 @@ services:
|
||||
condition: service_healthy
|
||||
|
||||
environment:
|
||||
SERVER_CROND_ENABLED: ${TOOLS_CROND_ENABLED}
|
||||
|
||||
APACHE_UID: ${TOOLS_USER_ID}
|
||||
APACHE_GID: ${TOOLS_GROUP_ID}
|
||||
APACHE_DOC_ROOT: /var/www/html
|
||||
@@ -121,6 +129,12 @@ services:
|
||||
|
||||
TOOLS_RPC_ENABLED: ${TOOLS_RPC_ENABLED}
|
||||
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:${TOOLS_PORT_MAIN_INT}/"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
|
||||
volumes:
|
||||
- ./${TOOLS_LOG_INIT_EXT}:${TOOLS_LOG_INIT_INT}
|
||||
- ./${TOOLS_LOG_SV_EXT}:${TOOLS_LOG_SV_INT}
|
||||
@@ -159,6 +173,12 @@ services:
|
||||
TIKI_URL: ${WA_TIKI_URL}
|
||||
TIKI_ROOT_LINK_LIST: ${WA_TIKI_ROOT_LINK_LIST}
|
||||
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:${WA_PORT_MAIN_INT}/${WA_TIKI_URL}/"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
|
||||
volumes:
|
||||
- ./${WA_LOG_INIT_EXT}:${WA_LOG_INIT_INT}
|
||||
- ./${WA_LOG_SV_EXT}:${WA_LOG_SV_INT}
|
||||
|
||||
Reference in New Issue
Block a user