coolify/templates/compose/dozzle-with-auth.yaml

33 lines
994 B
YAML
Raw Normal View History

2024-10-04 14:04:29 +00:00
# documentation: https://dozzle.dev/
# slogan: Dozzle is a simple and lightweight web UI for Docker logs.
# category: devtools
2024-10-04 14:04:29 +00:00
# tags: dozzle,docker,logs,web-ui
# logo: svgs/dozzle.svg
# port: 8080
services:
dozzle:
image: amir20/dozzle:latest
environment:
- SERVICE_URL_DOZZLE_8080
2024-10-04 14:04:29 +00:00
- DOZZLE_AUTH_PROVIDER=simple
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- type: bind
2024-10-24 16:05:43 +00:00
source: ./data/users.yml
target: /data/users.yml:ro
2024-10-04 14:04:29 +00:00
content: |
users:
2024-10-24 16:05:43 +00:00
# "admin" is the username
2024-10-04 14:04:29 +00:00
admin:
2024-10-24 16:05:43 +00:00
email: test@email.com
name: Admin
# A sha-256 hash of the password you want to use. Can be computed with "echo -n password | shasum -a 256". Default password is "Test".
password: $2a$11$viucCvFLlHWvBNOOI6uypuVU.D09UWb.zswRxEg0MkDPi1q/bKbdG
2024-10-04 14:04:29 +00:00
healthcheck:
test: ["CMD", "/dozzle", "healthcheck"]
interval: 3s
timeout: 30s
retries: 5