Update ha_setup.sh
This commit is contained in:
parent
a2680b837e
commit
65b892e4bd
1 changed files with 2 additions and 0 deletions
|
@ -239,8 +239,10 @@ docker pull homeassistant/home-assistant:$TAG
|
||||||
docker rm --force homeassistant
|
docker rm --force homeassistant
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--name homeassistant \
|
--name homeassistant \
|
||||||
|
--privileged \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
|
-v /dev:/dev \
|
||||||
-v hass_config:/config \
|
-v hass_config:/config \
|
||||||
-v /etc/localtime:/etc/localtime:ro \
|
-v /etc/localtime:/etc/localtime:ro \
|
||||||
-v /etc/timezone:/etc/timezone:ro \
|
-v /etc/timezone:/etc/timezone:ro \
|
||||||
|
|
Loading…
Reference in a new issue