# Docker Monitor Configuration
#
# This file can be placed in one of the following locations (in priority order):
# 1. ./config.yaml, ./config.yml, ./.dtop.yaml, or ./.dtop.yml (relative to current directory)
# 2. ~/.config/dtop/config.yaml or ~/.config/dtop/config.yml
# 3. ~/.dtop.yaml or ~/.dtop.yml
#
# Command line arguments take precedence over config file values.

# == Hosts ==
# Docker host(s) to connect to. You can specify multiple hosts to monitor
# them simultaneously.
# Possible values for host: local, ssh://user@host, tcp://host:port, tls://host:port
# Optional fields per host: dozzle (URL), filter (list of Docker filters)
hosts:
  - host: local
  # - host: ssh://user@server1
  #   dozzle: https://dozzle.server1.com/
  #   filter:
  #     - status=running
  #     - label=environment=production
  # - host: tcp://192.168.1.100:2375
  # - host: tls://192.168.1.100:2376

# == Icons ==
# Icon style for the UI.
# Possible values: unicode, nerd (requires Nerd Font)
icons: unicode

# == All ==
# Whether to show all containers including stopped, exited, and paused.
# Possible values: true, false
all: false

# == Sort ==
# Default sort field for the container list.
# Possible values: uptime, name, cpu, memory
sort: uptime

# == Columns ==
# Column visibility and order.
# List only the columns you want to see, in the order you want them.
# Omitted columns are hidden. Press 'c' in the UI to toggle columns interactively.
# Possible values: status, name, id, host, compose, cpu, memory, net_tx, net_rx, uptime, restarts
# columns:
#   - status
#   - name
#   - id
#   - host
#   - compose
#   - cpu
#   - memory
#   - net_tx
#   - net_rx
#   - uptime
#   - restarts
