44 lines
1.4 KiB
YAML
44 lines
1.4 KiB
YAML
# Run with docker compose up -d
|
|
services:
|
|
dozzle:
|
|
image: amir20/dozzle:latest
|
|
container_name: dozzle
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./dozzle_data:/data
|
|
ports:
|
|
- 10001:8080
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: "0.5"
|
|
memory: 256M
|
|
reservations:
|
|
cpus: "0.25"
|
|
memory: 128M
|
|
environment:
|
|
# Uncomment to enable container actions (stop, start, restart). See https://dozzle.dev/guide/actions
|
|
- DOZZLE_ENABLE_ACTIONS=true
|
|
#
|
|
# Uncomment to allow access to container shells. See https://dozzle.dev/guide/shell
|
|
# - DOZZLE_ENABLE_SHELL=true
|
|
#
|
|
# Uncomment to enable authentication. See https://dozzle.dev/guide/authentication
|
|
# - DOZZLE_AUTH_PROVIDER=simple
|
|
#
|
|
# Label this Dozzle instance (shown in the header and multi-host menu). See https://dozzle.dev/guide/hostname
|
|
- DOZZLE_HOSTNAME=nuc
|
|
#
|
|
# Connect to one or more remote agents to monitor other Docker hosts. See https://dozzle.dev/guide/agent
|
|
# - DOZZLE_REMOTE_AGENT=192.168.1.10:7007,192.168.1.11:7007
|
|
#
|
|
# Only show containers matching a filter. See https://dozzle.dev/guide/filters
|
|
# - DOZZLE_FILTER=label=com.example.app
|
|
healthcheck:
|
|
disable: true
|
|
networks:
|
|
default:
|
|
external: true
|
|
name: shared_backend
|