Skip to content

Commit 1681799

Browse files
authored
Merge pull request coollabsio#3720 from Skeyelab/dozzle-auth
feat: add dozzle-with-auth template
2 parents 2b81828 + acd6eed commit 1681799

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# documentation: https://dozzle.dev/
2+
# slogan: Dozzle is a simple and lightweight web UI for Docker logs.
3+
# tags: dozzle,docker,logs,web-ui
4+
# logo: svgs/dozzle.svg
5+
# port: 8080
6+
7+
version: "3.8"
8+
9+
services:
10+
dozzle:
11+
image: amir20/dozzle:latest
12+
container_name: "dozzle"
13+
restart: unless-stopped
14+
environment:
15+
- SERVICE_FQDN_DOZZLE_8080
16+
- DOZZLE_AUTH_PROVIDER=simple
17+
volumes:
18+
- /var/run/docker.sock:/var/run/docker.sock
19+
- type: bind
20+
source: /data/users.yml
21+
target: /data/users.yml
22+
content: |
23+
users:
24+
# "admin" here is username
25+
admin:
26+
name: "Admin"
27+
# Just sha-256 which can be computed with "echo -n password | shasum -a 256"
28+
password: "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8"
29+
30+
healthcheck:
31+
test: ["CMD", "/dozzle", "healthcheck"]
32+
interval: 3s
33+
timeout: 30s
34+
retries: 5
35+
start_period: 30s

0 commit comments

Comments
 (0)