1
0
Files
home_assistant/compose.yml
T
Kappeh 2e07ce0650
Deploy / Deploy (push) Successful in 2m27s
Bump home-assistant image to 2026.4.3
2026-04-21 21:16:18 +01:00

49 lines
1.1 KiB
YAML

services:
home_assistant:
image: ghcr.io/home-assistant/home-assistant:2026.4.3
user: 2019:2019 # home_assistant:home_assistant
restart: unless-stopped
depends_on:
init:
condition: service_completed_successfully
restart: true
networks:
- home_assistant_network
ports:
- 8123:8123
environment:
TZ: Europe/London
volumes:
- config:/config:rw
- /mnt/home_assistant_1/backups:/config/backups:rw
labels:
diun.enable: "true"
diun.watch_repo: "true"
diun.include_tags: "latest"
init:
image: busybox:1.37.0
user: root:root
command: /init.sh
restart: no
network_mode: none
volumes:
- ./init.sh:/init.sh:ro
# Used for resolving user and group names within the init script
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
# Mount all named volumes so they can be initialised
- config:/config:rw
labels:
diun.enable: "true"
diun.watch_repo: "true"
diun.include_tags: "latest"
volumes:
config:
networks:
home_assistant_network:
driver: bridge