Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

adding version with auth

Eric Dahlacd6eedf4098
diff --git a/templates/compose/dozzle-with-auth.yaml b/templates/compose/dozzle-with-auth.yaml
new file mode 100644
index 0000000000..1307e4c812
--- /dev/null
+++ b/templates/compose/dozzle-with-auth.yaml
@@ -0,0 +1,35 @@
+# documentation: https://dozzle.dev/
+# slogan: Dozzle is a simple and lightweight web UI for Docker logs.
+# tags: dozzle,docker,logs,web-ui
+# logo: svgs/dozzle.svg
+# port: 8080
+
+version: "3.8"
+
+services:
+ dozzle:
+ image: amir20/dozzle:latest
+ container_name: "dozzle"
+ restart: unless-stopped
+ environment:
+ - SERVICE_FQDN_DOZZLE_8080
+ - DOZZLE_AUTH_PROVIDER=simple
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock
+ - type: bind
+ source: /data/users.yml
+ target: /data/users.yml
+ content: |
+ users:
+ # "admin" here is username
+ admin:
+ name: "Admin"
+ # Just sha-256 which can be computed with "echo -n password | shasum -a 256"
+ password: "5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8"
+ healthcheck:
+ test: ["CMD", "/dozzle", "healthcheck"]
+ interval: 3s
+ timeout: 30s
+ retries: 5
+ start_period: 30s
\ No newline at end of file