From 807945c91c5f75bde8b3146928726245634da4f7 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 6 Jan 2025 10:16:16 +0100 Subject: [PATCH] Fix log spamming --- arpspoof/Dockerfile | 16 ++++++++++++++++ autobrr/Dockerfile | 16 ++++++++++++++++ baikal/Dockerfile | 16 ++++++++++++++++ battybirdnet-pi/Dockerfile | 16 ++++++++++++++++ bazarr/Dockerfile | 16 ++++++++++++++++ binance-trading-bot/Dockerfile | 16 ++++++++++++++++ birdnet-go/Dockerfile | 16 ++++++++++++++++ birdnet-pi/Dockerfile | 16 ++++++++++++++++ booksonic_air/Dockerfile | 16 ++++++++++++++++ browserless_chrome/Dockerfile | 16 ++++++++++++++++ calibre/Dockerfile | 16 ++++++++++++++++ calibre_web/Dockerfile | 16 ++++++++++++++++ cloudcommander/Dockerfile | 16 ++++++++++++++++ elasticsearch/Dockerfile | 16 ++++++++++++++++ emby/Dockerfile | 16 ++++++++++++++++ enedisgateway2mqtt/Dockerfile | 16 ++++++++++++++++ enedisgateway2mqtt_dev/Dockerfile | 16 ++++++++++++++++ filebrowser/Dockerfile | 16 ++++++++++++++++ fireflyiii/Dockerfile | 16 ++++++++++++++++ fireflyiii_data_importer/Dockerfile | 16 ++++++++++++++++ fireflyiii_fints_importer/Dockerfile | 16 ++++++++++++++++ flaresolverr/Dockerfile | 16 ++++++++++++++++ flexget/Dockerfile | 16 ++++++++++++++++ gitea/Dockerfile | 16 ++++++++++++++++ grav/Dockerfile | 16 ++++++++++++++++ guacamole/Dockerfile | 16 ++++++++++++++++ immich/Dockerfile | 16 ++++++++++++++++ jackett/Dockerfile | 16 ++++++++++++++++ jellyfin/Dockerfile | 16 ++++++++++++++++ joal/Dockerfile | 16 ++++++++++++++++ joplin/Dockerfile | 16 ++++++++++++++++ lidarr/Dockerfile | 16 ++++++++++++++++ linkwarden/Dockerfile | 16 ++++++++++++++++ monica/Dockerfile | 16 ++++++++++++++++ mylar3/Dockerfile | 16 ++++++++++++++++ navidrome/Dockerfile | 16 ++++++++++++++++ nextcloud/Dockerfile | 16 ++++++++++++++++ openproject/Dockerfile | 16 ++++++++++++++++ photoprism/Dockerfile | 16 ++++++++++++++++ plex/Dockerfile | 16 ++++++++++++++++ portainer/Dockerfile | 16 ++++++++++++++++ portainer_agent/Dockerfile | 16 ++++++++++++++++ qbittorrent/Dockerfile | 16 ++++++++++++++++ radarr/Dockerfile | 16 ++++++++++++++++ scrutiny/Dockerfile | 16 ++++++++++++++++ scrutiny_fa/Dockerfile | 16 ++++++++++++++++ signalk/Dockerfile | 16 ++++++++++++++++ sonarr/Dockerfile | 16 ++++++++++++++++ tdarr/Dockerfile | 16 ++++++++++++++++ transmission/Dockerfile | 16 ++++++++++++++++ transmission_openvpn/Dockerfile | 16 ++++++++++++++++ webtrees/Dockerfile | 16 ++++++++++++++-- wger/Dockerfile | 16 ++++++++++++++++ whatsapper/Dockerfile | 16 ++++++++++++++++ zzz_archived_bitwarden/Dockerfile | 16 ++++++++++++++++ zzz_archived_code-server/Dockerfile | 16 ++++++++++++++++ 56 files changed, 894 insertions(+), 2 deletions(-) diff --git a/arpspoof/Dockerfile b/arpspoof/Dockerfile index 7dd5492a52d..3aa3ea68879 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 ba9eb4963f3..55df207a459 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 71769cbefe7..8505d4335b1 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 1cf2a0aa5e6..124d01df0b7 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 45398fe0021..39318ad1b60 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 6dfa1af772c..3e703bdb9d7 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 cf21e195064..c1f8e61bcf1 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 4b5feda4398..1546657f579 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 daa45b6dacd..05d5b95590d 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 8f4918a2a7f..6546363d1da 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 4cfc2edcce9..211ef942f2d 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 0f4a4845057..fbdfd1f1f05 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 0742a39c6ce..998301f59f2 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 00c6c5b9df3..e208c0511d0 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 f38f87439c7..e287ebc394e 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 6b71ce8cbb0..b1bd642f300 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 17efeb70ea7..a3129e75316 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 7fff9156cd2..b9585e46fde 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 a8cda79eb48..3cd3e361a6e 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 a620904f163..06e602e066b 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 0306dcac525..aa4884c22c1 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 caa920a7210..37793dd1e69 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 bad528abc93..e138b8c462d 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 67fd04aabc4..244911bdec7 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 2bb6ad4560b..cc96f8c3cec 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 52d2a2e537c..9eda4b0875f 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 7b8f6d37e44..0cea8322d39 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 4ea6d282d58..5615d4a1480 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 0469db0e41c..7e2a5a0cc2f 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 0be157489ee..72f9da0dedc 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 001109d4967..e0e9e0afde5 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 d133dff74a8..bc1cd49e5f9 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 72cc518e62b..6b9c9e88349 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 a7d094ae11b..5d71799a796 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 62c17713561..0f567912c12 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 47ed207c897..9d1396177d9 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 b6c769229e4..2e71a9d66b6 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 620fb008126..674b9a078f3 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 a9e4bca22a9..dbc6a70622e 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 b2f19397029..8eb41ba8fcb 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 1ff086d2b52..d5f0cb7dbca 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 860fe25cbfb..18b063084f2 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 e5a7165374b..fa2107b3301 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 15c15df33c3..d6cd808ac27 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 8c01c5e43be..357b163e790 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 a4e24e26de0..b14c6813eab 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 98d740cc584..6ed473e2e5c 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 2feb59112a2..6df46646d06 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 a79654d26fb..db633a0688f 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 2476ec61077..e9f882daea4 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 76f92eb955b..a61bbcc2f43 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 7c9911f2ba2..8da7177c3b1 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 64bac5f0988..073f8ef877b 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 e4fb6de9657..2b7d7251634 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 c3dc06d3cec..563eded7066 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 457468122b4..26133702b31 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 \