Skip to content
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

Amend readme - add docker network to #55

Closed
genestealer opened this issue Aug 26, 2018 · 4 comments
Closed

Amend readme - add docker network to #55

genestealer opened this issue Aug 26, 2018 · 4 comments
Assignees

Comments

@genestealer
Copy link
Contributor

May I suggest you add the following:
Note: Dasshio uses http://hassio/homeassistant/api/services/{domain}/{service} as the base url to route requests over the Hassio local network between the containers. This is the prefered method as it means the requests don't have to leave the machine Hassio is running on (See Hass.io Addon Communication).
For those running Hass.io in Docker you must add the docker internal IP address to HTTP trusted_networks in the configuration.yaml file.

# Example configuration.yaml entry
http:
    trusted_networks:
    - 127.0.0.1
    - 192.168.0.0/24
    - 172.17.0.0/16 # Docker bridge
    - 172.30.32.0/23 # Docker hassio
@genestealer
Copy link
Contributor Author

Alternatively, removing the "trusted_networks:" list means HASS automatically added it's own internal address to the list of trusted_networks, bypassing the issue

@danimtb
Copy link
Owner

danimtb commented Aug 27, 2018

Sure @genestealer. Feel free to open a PR to the readme! Thanks 😄

@genestealer
Copy link
Contributor Author

Done 👍

@danimtb
Copy link
Owner

danimtb commented Aug 27, 2018

Thanks @genestealer !

@danimtb danimtb closed this as completed Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants