Skip to content

Multi Agent Dozzle (For remoter Servers) #1092

Description

@MohitNegi007

Master Node

services:
dozzle:
image: amir20/dozzle:latest
environment:
- DOZZLE_REMOTE_AGENT=
# Enables simple file-based user authentication
- DOZZLE_AUTH_PROVIDER=simple
ports:
- "8181:8080" # (Or 8080 if you resolved the previous port conflict)
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
# Mounts the local directory containing users.yml to Dozzle's internal /data path
- /opt/dozzle/data:/data

1. Create the persistent data directory in master node

mkdir -p /opt/dozzle/data

2. Generate securely hashed credentials

docker run --rm amir20/dozzle generate admin --password "YourSecurePassword" > /opt/dozzle/data/users.yml

Worker Node

services:
dozzle-agent:
image: amir20/dozzle:latest
command: agent
volumes:
# Grants the agent read-only access to the local node's container logs
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
# Exposes the agent on port 7007
- "7007:7007"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions