The external network name for Teslamate was updated from `teslamate-internal` to `teslamate_teslamate-internal` in the Home Assistant docker-compose.yml. This change ensures Home Assistant correctly connects to the Teslamate internal network, aligning with Docker Compose's default naming convention for networks created by other Compose projects.
29 lines
665 B
YAML
29 lines
665 B
YAML
services:
|
|
homeassistant:
|
|
image: lscr.io/linuxserver/homeassistant:latest
|
|
container_name: homeassistant
|
|
# network_mode: host
|
|
networks:
|
|
- pangolin-home
|
|
- teslamate_teslamate-internal
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=America/New_York
|
|
volumes:
|
|
- /mnt/docker/home/homeassistant/data:/config
|
|
- /run/dbus:/run/dbus:ro
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- NET_RAW
|
|
# ports:
|
|
# - 8123:8123 #optional
|
|
# devices:
|
|
# - /path/to/device:/path/to/device #optional
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
pangolin-home:
|
|
external: true
|
|
teslamate_teslamate-internal:
|
|
external: true |