ualex73 / monitor_docker

Monitor Docker containers from Home Assistant
Apache License 2.0
267 stars 34 forks source link

Additional property dockerproxy is not allowed #91

Closed X1pheR closed 1 month ago

X1pheR commented 2 years ago

Noobie here. I tried copy&paste to deploy but got the below error. Seemed I missed a version and services attribute in the docker compose but didn't know. Maybe include in the example?

image

ualex73 commented 2 years ago

Where are you trying to deploy this?

503Dev commented 1 year ago

I was able to reproduce this. I assume the OP means that he created a "docker-compose.yml" file on the host system, pasted the example docker-compose code and then attempted to run it such as:

sudo docker compose up -d

503Dev commented 1 year ago

This may be a candidate for a PR to fix the info but the solution is just to make sure you add the services: header, this is standard with docker-compose files but easy to forget.

Just add services:

above dockerproxy: and indent subsequent lines accordingly.

ualex73 commented 1 month ago

Updated the README, so I will close this one ... if you find more documentation/README improvements, please let me know or draft a PR.