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}`)