From b017e18e6d79b3860284650c9a2f3f928668269f Mon Sep 17 00:00:00 2001 From: sclaren Date: Tue, 9 May 2023 17:00:34 +0200 Subject: [PATCH] Added options to disable analytics and to setup username and password --- apps/dozzle/config.json | 22 +++++++++++++++++++++- apps/dozzle/docker-compose.yml | 4 ++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/apps/dozzle/config.json b/apps/dozzle/config.json index 835de63a..3bbbab58 100644 --- a/apps/dozzle/config.json +++ b/apps/dozzle/config.json @@ -14,5 +14,25 @@ "short_desc": "Dozzle is a small web based app to monior Docker logs", "author": "Amir Raminfar", "source": "https://github.com/amir20/dozzle", - "form_fields": [] + "form_fields": [ + { + "type": "text", + "label": "(Optional) Username", + "required": false, + "env_variable": "DOZZLE_USERNAME" + }, + { + "type": "password", + "label": "(Optional) Password", + "required": false, + "env_variable": "DOZZLE_PASSWORD" + }, + { + "type": "boolean", + "label": "Disable Google Analytics", + "required": false, + "env_variable": "DOZZLE_NO_ANALYTICS" + } + ] + } diff --git a/apps/dozzle/docker-compose.yml b/apps/dozzle/docker-compose.yml index 488518e3..55755bc7 100644 --- a/apps/dozzle/docker-compose.yml +++ b/apps/dozzle/docker-compose.yml @@ -10,6 +10,10 @@ services: - ${APP_PORT}:8080 networks: - tipi_main_network + environment: + - DOZZLE_NO_ANALYTICS=${DOZZLE_NO_ANALYTICS} + - DOZZLE_USERNAME={DOZZLE_USERNAME} + - DOZZLE_PASSWORD={DOZZLE_PASSWORD} labels: traefik.enable: ${APP_EXPOSED} traefik.http.routers.dozzle.rule: Host(`${APP_DOMAIN}`)