app-store/apps/dozzle/docker-compose.yml
Hunam (Elie TD) 4376984515
feat(dozzle): add auth support (#3070)
* feat(dozzle): add auth support

* rename users.yml to users.yml.template for the template to work

* dozzle requires a password hash instead of a raw password

* make password hash field a type password again

* fix username

* password hash field: use hint
2024-04-08 15:45:12 +03:00

41 lines
1.7 KiB
YAML

services:
dozzle:
container_name: dozzle
image: amir20/dozzle:v6.4.2
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${APP_DATA_DIR}/data:/data
ports:
- ${APP_PORT}:8080
networks:
- tipi_main_network
environment:
- DOZZLE_NO_ANALYTICS=${DOZZLE_NO_ANALYTICS-true}
- DOZZLE_AUTH_PROVIDER=simple
labels:
# Main
traefik.enable: true
traefik.http.middlewares.dozzle-web-redirect.redirectscheme.scheme: https
traefik.http.services.dozzle.loadbalancer.server.port: 8080
# Web
traefik.http.routers.dozzle-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.dozzle-insecure.entrypoints: web
traefik.http.routers.dozzle-insecure.service: dozzle
traefik.http.routers.dozzle-insecure.middlewares: dozzle-web-redirect
# Websecure
traefik.http.routers.dozzle.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.dozzle.entrypoints: websecure
traefik.http.routers.dozzle.service: dozzle
traefik.http.routers.dozzle.tls.certresolver: myresolver
# Local domain
traefik.http.routers.dozzle-local-insecure.rule: Host(`dozzle.${LOCAL_DOMAIN}`)
traefik.http.routers.dozzle-local-insecure.entrypoints: web
traefik.http.routers.dozzle-local-insecure.service: dozzle
traefik.http.routers.dozzle-local-insecure.middlewares: dozzle-web-redirect
# Local domain secure
traefik.http.routers.dozzle-local.rule: Host(`dozzle.${LOCAL_DOMAIN}`)
traefik.http.routers.dozzle-local.entrypoints: websecure
traefik.http.routers.dozzle-local.service: dozzle
traefik.http.routers.dozzle-local.tls: true