solectrus / hosting

Step-by-stypes guides for installing and hosting Solectrus
9 stars 4 forks source link

Cannot create container for service app: maximum retry count cannot be used with restart policy 'always' #1

Closed Fussel1979 closed 3 years ago

Fussel1979 commented 3 years ago

Hi there,

thanks for your great work!

I downloaded everything from the "Hosting" example and was able to bring up the SENEC collector.

What's not working for me is to bring up the dashboard.

When I run "docker-compose up" in the "dashboard" directory, I get the error message in the subject:

image

My setup is a Raspberry Pi 3b with Ubuntu 20.04.

Please advice!

Thanks & Best, Markus

ledermann commented 3 years ago

Hi @Fussel1979, thanks for reporting this.

To fix this issue, I have removed some conflicting Docker options which are valid only in a Docker Swarm environment. Please try again after removing the "deploy" and "restart" options in the docker-compose files.

But beware: SOLECTRUS is not yet a "ready to go" solution. E.g. you need to set up InfluxDB manually by creating a local user account and bucket after you start your containers the first time. There are still some docs missing...