diff --git a/arpspoof/Dockerfile b/arpspoof/Dockerfile index 7dd5492a5..3aa3ea688 100644 --- a/arpspoof/Dockerfile +++ b/arpspoof/Dockerfile @@ -104,6 +104,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="7022" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/autobrr/Dockerfile b/autobrr/Dockerfile index ba9eb4963..55df207a4 100644 --- a/autobrr/Dockerfile +++ b/autobrr/Dockerfile @@ -113,6 +113,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="7474" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/baikal/Dockerfile b/baikal/Dockerfile index 71769cbef..8505d4335 100644 --- a/baikal/Dockerfile +++ b/baikal/Dockerfile @@ -110,6 +110,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="80" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/battybirdnet-pi/Dockerfile b/battybirdnet-pi/Dockerfile index 1cf2a0aa5..124d01df0 100644 --- a/battybirdnet-pi/Dockerfile +++ b/battybirdnet-pi/Dockerfile @@ -195,6 +195,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="80" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/bazarr/Dockerfile b/bazarr/Dockerfile index 45398fe00..39318ad1b 100644 --- a/bazarr/Dockerfile +++ b/bazarr/Dockerfile @@ -105,6 +105,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="6767" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/binance-trading-bot/Dockerfile b/binance-trading-bot/Dockerfile index 6dfa1af77..3e703bdb9 100644 --- a/binance-trading-bot/Dockerfile +++ b/binance-trading-bot/Dockerfile @@ -126,6 +126,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="80" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/birdnet-go/Dockerfile b/birdnet-go/Dockerfile index cf21e1950..c1f8e61bc 100644 --- a/birdnet-go/Dockerfile +++ b/birdnet-go/Dockerfile @@ -106,6 +106,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="80" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/birdnet-pi/Dockerfile b/birdnet-pi/Dockerfile index 4b5feda43..1546657f5 100644 --- a/birdnet-pi/Dockerfile +++ b/birdnet-pi/Dockerfile @@ -229,6 +229,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="80" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/booksonic_air/Dockerfile b/booksonic_air/Dockerfile index daa45b6da..05d5b9559 100644 --- a/booksonic_air/Dockerfile +++ b/booksonic_air/Dockerfile @@ -117,6 +117,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="4040" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/browserless_chrome/Dockerfile b/browserless_chrome/Dockerfile index 8f4918a2a..6546363d1 100644 --- a/browserless_chrome/Dockerfile +++ b/browserless_chrome/Dockerfile @@ -104,6 +104,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="3000" \ HEALTH_URL="/docs" HEALTHCHECK \ diff --git a/calibre/Dockerfile b/calibre/Dockerfile index 4cfc2edcc..211ef942f 100644 --- a/calibre/Dockerfile +++ b/calibre/Dockerfile @@ -120,6 +120,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8080" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/calibre_web/Dockerfile b/calibre_web/Dockerfile index 0f4a48450..fbdfd1f1f 100644 --- a/calibre_web/Dockerfile +++ b/calibre_web/Dockerfile @@ -125,6 +125,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8083" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/cloudcommander/Dockerfile b/cloudcommander/Dockerfile index 0742a39c6..998301f59 100644 --- a/cloudcommander/Dockerfile +++ b/cloudcommander/Dockerfile @@ -105,6 +105,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8000" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/elasticsearch/Dockerfile b/elasticsearch/Dockerfile index 00c6c5b9d..e208c0511 100644 --- a/elasticsearch/Dockerfile +++ b/elasticsearch/Dockerfile @@ -113,6 +113,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="9200" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/emby/Dockerfile b/emby/Dockerfile index f38f87439..e287ebc39 100644 --- a/emby/Dockerfile +++ b/emby/Dockerfile @@ -104,6 +104,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8096" \ HEALTH_URL="/emby/system/info/public?format=json" HEALTHCHECK \ diff --git a/enedisgateway2mqtt/Dockerfile b/enedisgateway2mqtt/Dockerfile index 6b71ce8cb..b1bd642f3 100644 --- a/enedisgateway2mqtt/Dockerfile +++ b/enedisgateway2mqtt/Dockerfile @@ -104,6 +104,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="5000" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/enedisgateway2mqtt_dev/Dockerfile b/enedisgateway2mqtt_dev/Dockerfile index 17efeb70e..a3129e753 100644 --- a/enedisgateway2mqtt_dev/Dockerfile +++ b/enedisgateway2mqtt_dev/Dockerfile @@ -104,6 +104,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="5000" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/filebrowser/Dockerfile b/filebrowser/Dockerfile index 7fff9156c..b9585e46f 100644 --- a/filebrowser/Dockerfile +++ b/filebrowser/Dockerfile @@ -106,6 +106,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8080" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/fireflyiii/Dockerfile b/fireflyiii/Dockerfile index a8cda79eb..3cd3e361a 100644 --- a/fireflyiii/Dockerfile +++ b/fireflyiii/Dockerfile @@ -115,6 +115,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8080" \ HEALTH_URL="/health" HEALTHCHECK \ diff --git a/fireflyiii_data_importer/Dockerfile b/fireflyiii_data_importer/Dockerfile index a620904f1..06e602e06 100644 --- a/fireflyiii_data_importer/Dockerfile +++ b/fireflyiii_data_importer/Dockerfile @@ -111,6 +111,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8080" \ HEALTH_URL="/health" HEALTHCHECK \ diff --git a/fireflyiii_fints_importer/Dockerfile b/fireflyiii_fints_importer/Dockerfile index 0306dcac5..aa4884c22 100644 --- a/fireflyiii_fints_importer/Dockerfile +++ b/fireflyiii_fints_importer/Dockerfile @@ -108,6 +108,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8080" \ HEALTH_URL="/health" HEALTHCHECK \ diff --git a/flaresolverr/Dockerfile b/flaresolverr/Dockerfile index caa920a72..37793dd1e 100644 --- a/flaresolverr/Dockerfile +++ b/flaresolverr/Dockerfile @@ -107,6 +107,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8191" \ HEALTH_URL="/health" HEALTHCHECK \ diff --git a/flexget/Dockerfile b/flexget/Dockerfile index bad528abc..e138b8c46 100644 --- a/flexget/Dockerfile +++ b/flexget/Dockerfile @@ -122,6 +122,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="5050" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/gitea/Dockerfile b/gitea/Dockerfile index 67fd04aab..244911bde 100644 --- a/gitea/Dockerfile +++ b/gitea/Dockerfile @@ -107,6 +107,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="3000" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/grav/Dockerfile b/grav/Dockerfile index 2bb6ad456..cc96f8c3c 100644 --- a/grav/Dockerfile +++ b/grav/Dockerfile @@ -108,6 +108,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="80" \ HEALTH_URL="/health" HEALTHCHECK \ diff --git a/guacamole/Dockerfile b/guacamole/Dockerfile index 52d2a2e53..9eda4b087 100644 --- a/guacamole/Dockerfile +++ b/guacamole/Dockerfile @@ -134,6 +134,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8080" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/immich/Dockerfile b/immich/Dockerfile index 7b8f6d37e..0cea8322d 100644 --- a/immich/Dockerfile +++ b/immich/Dockerfile @@ -129,6 +129,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8080" \ HEALTH_URL="/api/server/ping" HEALTHCHECK \ diff --git a/jackett/Dockerfile b/jackett/Dockerfile index 4ea6d282d..5615d4a14 100644 --- a/jackett/Dockerfile +++ b/jackett/Dockerfile @@ -107,6 +107,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="9117" \ HEALTH_URL="/UI/Dashboard" HEALTHCHECK \ diff --git a/jellyfin/Dockerfile b/jellyfin/Dockerfile index 0469db0e4..7e2a5a0cc 100644 --- a/jellyfin/Dockerfile +++ b/jellyfin/Dockerfile @@ -121,6 +121,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8096" \ HEALTH_URL="/health" HEALTHCHECK \ diff --git a/joal/Dockerfile b/joal/Dockerfile index 0be157489..72f9da0de 100644 --- a/joal/Dockerfile +++ b/joal/Dockerfile @@ -116,6 +116,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8081" \ HEALTH_URL="/joal/ui" HEALTHCHECK \ diff --git a/joplin/Dockerfile b/joplin/Dockerfile index 001109d49..e0e9e0afd 100644 --- a/joplin/Dockerfile +++ b/joplin/Dockerfile @@ -113,6 +113,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/lidarr/Dockerfile b/lidarr/Dockerfile index d133dff74..bc1cd49e5 100644 --- a/lidarr/Dockerfile +++ b/lidarr/Dockerfile @@ -113,6 +113,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8686" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/linkwarden/Dockerfile b/linkwarden/Dockerfile index 72cc518e6..6b9c9e883 100644 --- a/linkwarden/Dockerfile +++ b/linkwarden/Dockerfile @@ -122,6 +122,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="80" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/monica/Dockerfile b/monica/Dockerfile index a7d094ae1..5d71799a7 100644 --- a/monica/Dockerfile +++ b/monica/Dockerfile @@ -109,6 +109,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8080" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/mylar3/Dockerfile b/mylar3/Dockerfile index 62c177135..0f567912c 100644 --- a/mylar3/Dockerfile +++ b/mylar3/Dockerfile @@ -109,6 +109,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8090" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/navidrome/Dockerfile b/navidrome/Dockerfile index 47ed207c8..9d1396177 100644 --- a/navidrome/Dockerfile +++ b/navidrome/Dockerfile @@ -105,6 +105,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8080" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index b6c769229..2e71a9d66 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -159,6 +159,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="80" \ HEALTH_URL="/robots.txt" HEALTHCHECK \ diff --git a/openproject/Dockerfile b/openproject/Dockerfile index 620fb0081..674b9a078 100644 --- a/openproject/Dockerfile +++ b/openproject/Dockerfile @@ -115,6 +115,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8080" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/photoprism/Dockerfile b/photoprism/Dockerfile index a9e4bca22..dbc6a7062 100644 --- a/photoprism/Dockerfile +++ b/photoprism/Dockerfile @@ -116,6 +116,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/plex/Dockerfile b/plex/Dockerfile index b2f193970..8eb41ba8f 100644 --- a/plex/Dockerfile +++ b/plex/Dockerfile @@ -124,6 +124,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="32400" \ HEALTH_URL="/identity" HEALTHCHECK \ diff --git a/portainer/Dockerfile b/portainer/Dockerfile index 1ff086d2b..d5f0cb7db 100644 --- a/portainer/Dockerfile +++ b/portainer/Dockerfile @@ -130,6 +130,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="9000" \ HEALTH_URL="/api/system/status" HEALTHCHECK \ diff --git a/portainer_agent/Dockerfile b/portainer_agent/Dockerfile index 860fe25cb..18b063084 100644 --- a/portainer_agent/Dockerfile +++ b/portainer_agent/Dockerfile @@ -118,6 +118,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index e5a716537..fa2107b33 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -170,6 +170,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/radarr/Dockerfile b/radarr/Dockerfile index 15c15df33..d6cd808ac 100644 --- a/radarr/Dockerfile +++ b/radarr/Dockerfile @@ -114,6 +114,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="7878" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/scrutiny/Dockerfile b/scrutiny/Dockerfile index 8c01c5e43..357b163e7 100644 --- a/scrutiny/Dockerfile +++ b/scrutiny/Dockerfile @@ -104,6 +104,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8080" \ HEALTH_URL="/api/health" HEALTHCHECK \ diff --git a/scrutiny_fa/Dockerfile b/scrutiny_fa/Dockerfile index a4e24e26d..b14c6813e 100644 --- a/scrutiny_fa/Dockerfile +++ b/scrutiny_fa/Dockerfile @@ -101,6 +101,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8080" \ HEALTH_URL="/api/health" HEALTHCHECK \ diff --git a/signalk/Dockerfile b/signalk/Dockerfile index 98d740cc5..6ed473e2e 100644 --- a/signalk/Dockerfile +++ b/signalk/Dockerfile @@ -114,6 +114,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8080" \ HEALTH_URL="/health" HEALTHCHECK \ diff --git a/sonarr/Dockerfile b/sonarr/Dockerfile index 2feb59112..6df46646d 100644 --- a/sonarr/Dockerfile +++ b/sonarr/Dockerfile @@ -114,6 +114,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8989" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/tdarr/Dockerfile b/tdarr/Dockerfile index a79654d26..db633a068 100644 --- a/tdarr/Dockerfile +++ b/tdarr/Dockerfile @@ -99,6 +99,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8265" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/transmission/Dockerfile b/transmission/Dockerfile index 2476ec610..e9f882dae 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -121,6 +121,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="9091" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/transmission_openvpn/Dockerfile b/transmission_openvpn/Dockerfile index 76f92eb95..a61bbcc2f 100644 --- a/transmission_openvpn/Dockerfile +++ b/transmission_openvpn/Dockerfile @@ -109,6 +109,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/webtrees/Dockerfile b/webtrees/Dockerfile index 7c9911f2b..8da7177c3 100644 --- a/webtrees/Dockerfile +++ b/webtrees/Dockerfile @@ -126,9 +126,21 @@ LABEL \ # 6 Healthcheck # ################# -# Avoid spamming logs with Apache +# Avoid spamming logs # hadolint ignore=SC2016 -RUN if [ -d /etc/apache2/sites-available ]; then for file in /etc/apache2/sites-*/*.conf; do sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi ENV HEALTH_PORT="80" \ HEALTH_URL="" diff --git a/wger/Dockerfile b/wger/Dockerfile index 64bac5f09..073f8ef87 100644 --- a/wger/Dockerfile +++ b/wger/Dockerfile @@ -115,6 +115,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="80" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/whatsapper/Dockerfile b/whatsapper/Dockerfile index e4fb6de96..2b7d72516 100644 --- a/whatsapper/Dockerfile +++ b/whatsapper/Dockerfile @@ -106,6 +106,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="3000" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/zzz_archived_bitwarden/Dockerfile b/zzz_archived_bitwarden/Dockerfile index c3dc06d3c..563eded70 100644 --- a/zzz_archived_bitwarden/Dockerfile +++ b/zzz_archived_bitwarden/Dockerfile @@ -116,6 +116,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="80" \ HEALTH_URL="" HEALTHCHECK \ diff --git a/zzz_archived_code-server/Dockerfile b/zzz_archived_code-server/Dockerfile index 457468122..26133702b 100644 --- a/zzz_archived_code-server/Dockerfile +++ b/zzz_archived_code-server/Dockerfile @@ -111,6 +111,22 @@ LABEL \ # 6 Healthcheck # ################# +# Avoid spamming logs +# hadolint ignore=SC2016 +RUN \ + # Handle Apache configuration + if [ -d /etc/apache2/sites-available ]; then \ + for file in /etc/apache2/sites-*/*.conf; do \ + sed -i '/ /etc/nginx/nginx.conf.new && \ + mv /etc/nginx/nginx.conf.new /etc/nginx/nginx.conf; \ + fi + ENV HEALTH_PORT="8443" \ HEALTH_URL="" HEALTHCHECK \