-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
smartfriends-bridge RestApi as stand alone container #6
Comments
Hi Markus, There already is a dockerfile in the source repository, this repository is just for the Home Assistant plugin. https://github.com/GimpArm/smartfriends-bridge Although you don't need to build your own, you can use the normal docker image
Although you should mount and configure the settings file |
Hi, |
Hi GimpAmp,
Download a .NET SDK: Learn about SDK resolution: The container is restarting all the time. I guess this is due to the missing .NET component. How can I fix it? Greetings Markus |
Did you make a new container or are you using the one I pushed to the docker hub? I double checked what I built, I re-build and pushed a new container. Everything works for me locally as I expect. If you're still having problems then post your docker command or your compose file. |
I took the container from docker hub as it is. version: "2.1" The appsettings.json is placed in ./config and readable by others |
There will be no problem running this on a Linux host. You problem is with your volume, you need to mount the appsettings.json file directly and not the entire app folder. I should look like this
|
Hi, thanks a lot. The container is up. Now the server refuses to answer. But I hope to find the problem. Best regards and thanks for your help Markus |
Great, connection problems are usually your network or incorrect settings in the appsettings.json |
it helps to map the correct port ;-) |
Hi GimpArm,
die smartfriends-bridge läuft super unter Home Assistant.
Da ich HA aber nur nutze, um diesen RestApi nutzen zu können, würde ich einen eigenen Dockercontainer für diese Zwecke vorziehen. Wie kann ich den aus dem zur Verfügung gestellten Dockerfile erzeugen. Welche Argumente muss ich beim docker build angeben?
Danke für die super Arbeit
Markus
The text was updated successfully, but these errors were encountered: