Skip to content

Instantly share code, notes, and snippets.

@dragonfire1119
Created July 15, 2023 17:39
Show Gist options
  • Save dragonfire1119/1948dfaef62adb4ab405c184623705e1 to your computer and use it in GitHub Desktop.
Save dragonfire1119/1948dfaef62adb4ab405c184623705e1 to your computer and use it in GitHub Desktop.
Install Home Assistant on Portainer
---
version: "2.1"
services:
homeassistant:
image: lscr.io/linuxserver/homeassistant:latest
container_name: homeassistant
network_mode: host
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /ha/config:/config
ports:
- 8123:8123 #optional
#devices:
# - /path/to/device:/path/to/device #optional
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment