Workflow update

main
technorabilia 2 years ago
parent f9bf0af428
commit 184818f2e9

@ -1,7 +1,7 @@
# [Homeassistant](https://www.home-assistant.io/) is open source home automation
# that puts local control and privacy first. Powered by a worldwide community of
# tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local
# server.
# [Home Assistant Core](https://www.home-assistant.io/) - Open source home
# automation that puts local control and privacy first. Powered by a worldwide
# community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi
# or a local server.
---
version: "2.1"
@ -25,5 +25,5 @@ services:
- 8123:8123 # optional
devices:
# For passing through USB, serial or gpio devices.
- /path/to/device:/path/to/device
- /path/to/device:/path/to/device # optional
restart: unless-stopped

@ -1,7 +1,7 @@
# [Homeassistant](https://www.home-assistant.io/) is open source home automation
# that puts local control and privacy first. Powered by a worldwide community of
# tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local
# server.
# [Home Assistant Core](https://www.home-assistant.io/) - Open source home
# automation that puts local control and privacy first. Powered by a worldwide
# community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi
# or a local server.
source ./.env
docker run -d \
@ -12,6 +12,6 @@ docker run -d \
-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.` \
--device /path/to/device:/path/to/device `# optional` `# For passing through USB, serial or gpio devices.` \
--restart unless-stopped \
ghcr.io/linuxserver/homeassistant

Loading…
Cancel
Save