Files
container/hass/docker-compose.yml
T

21 lines
528 B
YAML

services:
homeassistant:
container_name: ${NAME}
image: "ghcr.io/home-assistant/home-assistant:latest"
volumes:
- ${VOLUME_CONFIG}:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
ports:
- ${PORT_UI:-8123}:8123
networks:
default:
smart_net: # Geändert auf smart_net
ipv4_address: ${SMART_IP}
networks:
smart_net: # Geändert auf smart_net
name: ${SMART_NETWORK_NAME}
external: true