2024年12月4日星期三 上午1:35:50

local media on Home Assistant Core docker

9 个月 前
#28512 引用
local media on Home Assistant Core docker

https://www.home-assistant.io/more-info/local-media/setup-media#home-assistant-container
0
9 个月 前
#28513 引用


If you run the Home Assistant Container you’ll need to add a Docker volume mount to the Home Assistant container, to mount in your local media.

The default path Home Assistant will try to use, is /media.

For example, if you are currently using this command for Docker:

docker run -d --name="home-assistant" \
  -v /PATH_TO_YOUR_CONFIG:/config \
  -v /etc/localtime:/etc/localtime:ro \
  --net=host \
  ghcr.io/home-assistant/home-assistant:stable


You’ll need to change it to this:

docker run -d --name="home-assistant" \
  -v /PATH_TO_YOUR_CONFIG:/config \
  -v /PATH_TO_YOUR_MEDIA:/media \
  -v /etc/localtime:/etc/localtime:ro \
  --net=host \
  ghcr.io/home-assistant/home-assistant:stable
0
9 个月 前
#28514 引用
http://192.168.2.50:8123/local

output

404: Not Found
0