Core support audio settings (#1546)

This commit is contained in:
Pascal Vizeli
2020-02-29 12:14:03 +01:00
committed by GitHub
parent 06fadbd70f
commit 0467b33cd5
9 changed files with 143 additions and 41 deletions

View File

@@ -213,10 +213,10 @@ class DockerAddon(DockerInterface):
@property
def volumes(self) -> Dict[str, Dict[str, str]]:
"""Generate volumes for mappings."""
volumes = {str(self.addon.path_extern_data): {"bind": "/data", "mode": "rw"}}
addon_mapping = self.addon.map_volumes
volumes = {str(self.addon.path_extern_data): {"bind": "/data", "mode": "rw"}}
# setup config mappings
if MAP_CONFIG in addon_mapping:
volumes.update(