这是indexloc提供的服务,不要输入任何密码
Skip to content

Allow containers to be disabled/enabled with docker labels #71

@philhawthorne

Description

@philhawthorne

Add a new feature which will include or exclude a container based on the docker labels present.

This will allow people using docker-compose or the command line to have each container expose or not expose to ha-dockermon.

An example docker compose file would look like

version: '3.0'
services:
  homeassistant:
    image: homeassistant/home-assistant
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Toronto
    volumes:
      - /config
    deploy:
      restart_policy:
        condition: on-failure
      labels:
        - hadockermon.enable=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions