Files
docker-compose-collection/composes-files/homeassistant.yml
Mickael PAPAMICA Asseline e6e9ccfa11 change images to my cdn
2022-09-02 13:31:54 +02:00

33 lines
1.2 KiB
YAML

# Maintainer: Mickael "PAPAMICA" Asseline
# Update: 2022-06-16
#& type: 3
#& title: Home Assistant
#& description: Open source home automation that puts local control and privacy first.
#& note: Website: <a href='https://www.home-assistant.io/' target='_blank' rel='noopener'>Home-Assistant.io</a></br></br>Warning: network mode host used ! </br>Accessible with port: <code>8123</code>
#& categories: SelfHosted, Domotic, PAPAMICA
#& platform: linux
#& logo: https://img.papamica.com/logo/homeassistant.png
#% SERVICE: Name of the service (No spaces or points) [home-assistant]
#% DATA_LOCATION: Data localization (Example: /apps/service) [/_data/apps]
# Work with Portainer
version: "2"
services:
home-assistant:
image: ghcr.io/home-assistant/home-assistant:stable
restart: always
container_name: $SERVICE
volumes:
- $DATA_LOCATION/$SERVICE/config:/config
- /etc/localtime:/etc/localtime:ro
privileged: true
network_mode: host
healthcheck:
test: wget -nv -t1 --spider 'http://localhost:8123/'
interval: 1m
timeout: 30s
retries: 3
labels:
- "autoupdate=monitor" # https://github.com/PAPAMICA/container-updater