diff --git a/lsio/homeassistant/docker-compose.yaml b/lsio/homeassistant/docker-compose.yaml index 8eba271..c5e4b36 100644 --- a/lsio/homeassistant/docker-compose.yaml +++ b/lsio/homeassistant/docker-compose.yaml @@ -20,6 +20,9 @@ services: volumes: # Home Assistant config storage path. - ${BASEDIR:-/volume1/docker}/homeassistant/config:/config + ports: + # Application WebUI, only use this if you are not using host mode. + - 8123:8123 # optional devices: # For passing through USB, serial or gpio devices. - /path/to/device:/path/to/device diff --git a/lsio/homeassistant/docker-run.sh b/lsio/homeassistant/docker-run.sh index 69482f0..32a9e81 100644 --- a/lsio/homeassistant/docker-run.sh +++ b/lsio/homeassistant/docker-run.sh @@ -10,6 +10,7 @@ docker run -d \ -e PUID=${PUID:-1024} `# for GroupID` \ -e PGID=${PGID:-100} `# for UserID` \ -e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \ + -p 8123:8123 `# optional` `# Application WebUI, only use this if you are not using host mode.` \ -v ${BASEDIR:-/volume1/docker}/homeassistant/config:/config `# Home Assistant config storage path.` \ --device /path/to/device:/path/to/device `# For passing through USB, serial or gpio devices.` \ --restart unless-stopped \