Extend addons options to allow lists (#5)

Extend addons options to allow lists
This commit is contained in:
Pascal Vizeli
2017-04-19 17:07:24 +02:00
committed by GitHub
parent 71590f90ae
commit f9c7371140
10 changed files with 165 additions and 60 deletions

View File

@@ -52,6 +52,11 @@ class DockerAddon(DockerBase):
self.config.path_ssl_docker: {
'bind': '/ssl', 'mode': 'rw'
}})
if self.addons_data.need_hassio(self.addon):
volumes.update({
self.config.path_hassio_docker: {
'bind': '/hassio', 'mode': 'rw'
}})
try:
self.container = self.dock.containers.run(