# The following hash corresponds to the image php:8.1.18-apache
# php@sha256:5d5f0dbea68afab7e6fa7649fb818e078680e338a3265ec5cf237a6a791dd471
# it can be found here: https://hub.docker.com/layers/library/php/8.1.18-apache/images/sha256-5d5f0dbea68afab7e6fa7649fb818e078680e338a3265ec5cf237a6a791dd471?context=explore
PHP_HASH='@sha256:5d5f0dbea68afab7e6fa7649fb818e078680e338a3265ec5cf237a6a791dd471'

# The following hash corresponds to the image mysql:8
# mysql@sha256:13e429971e970ebcb7bc611de52d71a3c444247dc67cf7475a02718f6a5ef559
# it can be found here: https://hub.docker.com/layers/library/mysql/8/images/sha256-13e429971e970ebcb7bc611de52d71a3c444247dc67cf7475a02718f6a5ef559?context=explore
MYSQL_HASH='@sha256:13e429971e970ebcb7bc611de52d71a3c444247dc67cf7475a02718f6a5ef559'

# The following hash corresponds to the image httpd:bookworm
# it can be found here: https://hub.docker.com/layers/library/httpd/bookworm/images/sha256-760413d133979e7cc5ced07d8c323e7b68bb48b4e114f8898c2f2d6af82e2424?context=explore
HTTPD_HASH='@sha256:760413d133979e7cc5ced07d8c323e7b68bb48b4e114f8898c2f2d6af82e2424'

# The following hash corresponds to the image nginx:stable-alpine
# it can be found here: https://hub.docker.com/layers/library/nginx/stable-alpine/images/sha256-0f737f8ba72d336d5e5e5c6f4ae163ef15c047b58ec5d88fdcb277be61d1aebb?context=explore
NGINX_HASH='@sha256:0f737f8ba72d336d5e5e5c6f4ae163ef15c047b58ec5d88fdcb277be61d1aebb'
# The following hash corresponds to the image tomcat:8.0.36-jre8
# it can be found here: https://hub.docker.com/layers/library/tomcat/8.0.36-jre8/images/sha256-945050cf462d19a61b840fa5dbdaf75512621c25ffd9031c09147463fce2db84?context=explore
TOMCAT_HASH='@sha256:945050cf462d19a61b840fa5dbdaf75512621c25ffd9031c09147463fce2db84'
TOMCAT_TAG=':8.0.36-jre8'

# The following hashes corresponds respectively to the images, drupal:9-apache, drupal:10-apache
# drupal@sha256:18692a0792c882957024f4086cadbc966778c5593850dfa89edb7780ba8b794d
# drupal@sha256:d85280f104d6c8e1eff7e2613b5ee584d0a4105d54f4ffe352f945e38d095514
# They can respectively be found at:
# https://hub.docker.com/layers/library/drupal/9-apache/images/sha256-18692a0792c882957024f4086cadbc966778c5593850dfa89edb7780ba8b794d?context=explore
# https://hub.docker.com/layers/library/drupal/10-apache/images/sha256-d85280f104d6c8e1eff7e2613b5ee584d0a4105d54f4ffe352f945e38d095514?context=explore
DRUPAL9_HASH='@sha256:18692a0792c882957024f4086cadbc966778c5593850dfa89edb7780ba8b794d'
DRUPAL10_HASH='@sha256:d85280f104d6c8e1eff7e2613b5ee584d0a4105d54f4ffe352f945e38d095514'
# Some variables allowing the drupal instances and their DB to run
DRUPAL_MYSQL_DB='drupal'
DRUPAL_MYSQL_USER='drupal'
DRUPAL_MYSQL_PASSWORD='drupalpasswd'
DRUPAL_MYSQL_ROOT_PASSWORD='rootpasswd'

# This wordpress image refers to the 6.2.0 tag, it can be found here:
# https://hub.docker.com/layers/library/wordpress/6.2.0/images/sha256-c3d6df13e49ed4039fbbe5bd1ec172b166a7a4df603716fd06f5bd66b7e60f90?context=explore
WP_HASH='@sha256:c3d6df13e49ed4039fbbe5bd1ec172b166a7a4df603716fd06f5bd66b7e60f90'
# Credentials for the wordpress database
WP_MYSQL_ROOT_PASSWORD="somewordpress"
WP_MYSQL_DATABASE="wordpress"
WP_MYSQL_USER="wordpress"
WP_MYSQL_PASSWORD="wordpress"


#Credentials for the timesql database
TIMESQL_MYSQL_DATABASE="timesql-db"
TIMESQL_MYSQL_USER="timesql-usr"
TIMESQL_MYSQL_PASSWORD="timesqlpwd"
TIMESQL_MYSQL_ROOT_PASSWORD="timesqlpwd"

# VARIABLES USED IN HEALTHCHECK SYSTEM      
# Various commands to check if a container is healthy or not
DEFAULT_MYSQL_HEALTHCHECK_COMMAND='mysqladmin ping --silent'
DEFAULT_WEB_HEALTHCHECK_COMMAND='curl --silent --fail http://localhost/'
HTTPS_WEB_HEALTHCHECK_COMMAND='curl --silent --fail --insecure https://localhost/'
# Some other default variables related to the healthcheck conditions
DEFAULT_HEALTHCHECKS_RETRIES=30
DEFAULT_HEALTHCHECKS_TIMEOUT=3s
DEFAULT_HEALTHCHECKS_INTERVAL=5s
DEFAULT_HEALTHCHECKS_START_PERIOD=5s
