## Note: This compose file does not work directly with docker compose up, but it does work fine when used as a base for Portainer stack deploy. ## Reason: Portainer supports swarm mode deploy even for single node setups, while docker compose up does not. ## To use this file with docker compose up, uncomment the network section and the network_mode line, and remove the deploy section. # Service Name: Dozzle # Description : Docker log viewer # Homepage : https://dozzle.dev/ services: dozzle: image: amir20/dozzle:latest environment: - DOZZLE_MODE=swarm - DOZZLE_HOSTNAME=dozzle.home.ramberg.net volumes: - /var/run/docker.sock:/var/run/docker.sock:ro ports: - 8280:8080 # network_mode: "host" # networks: # - dozzle deploy: mode: global restart: unless-stopped #networks: # dozzle: # driver: overlay # attachable: true