docker pull homeassistant/home-assistant
mkdir -p $HOME/source/docker/homeassistant
mkdir -p $HOME/source/docker/homeassistant/config
cat compose.yml
version: '3'
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /home/wf/source/docker/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
privileged: true
network_mode: host
docker compose up
docker pull homeassistant/home-assistant
mkdir -p $HOME/source/docker/homeassistant
mkdir -p $HOME/source/docker/homeassistant/config
cat compose.yml
version: '3'
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /home/wf/source/docker/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
privileged: true
network_mode: host
docker compose up