Created
July 15, 2023 17:39
-
-
Save dragonfire1119/1948dfaef62adb4ab405c184623705e1 to your computer and use it in GitHub Desktop.
Install Home Assistant on Portainer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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