Initial commit - All Portainer stacks from Mac
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
homeassistant:
|
||||
container_name: homeassistant
|
||||
image: ghcr.io/home-assistant/home-assistant:stable
|
||||
restart: unless-stopped
|
||||
privileged: true
|
||||
network_mode: host
|
||||
security_opt:
|
||||
- label=disable
|
||||
hostname: homeassistant
|
||||
environment:
|
||||
TZ: America/New_York
|
||||
LANG: C.UTF-8
|
||||
S6_BEHAVIOUR_IF_STAGE2_FAILS: "2"
|
||||
S6_CMD_WAIT_FOR_SERVICES: "1"
|
||||
S6_CMD_WAIT_FOR_SERVICES_MAXTIME: "0"
|
||||
S6_SERVICES_READYTIME: "50"
|
||||
S6_SERVICES_GRACETIME: "240000"
|
||||
UV_EXTRA_INDEX_URL: https://wheels.home-assistant.io/musllinux-index/
|
||||
UV_SYSTEM_PYTHON: "true"
|
||||
UV_NO_CACHE: "true"
|
||||
volumes:
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
- "/home/pi/homeassistant:/config"
|
||||
- "/run/dbus:/run/dbus:ro"
|
||||
# Add USB/Zigbee if needed, e.g.:
|
||||
# - "/dev/ttyUSB0:/dev/ttyUSB0:rw"
|
||||
working_dir: "/config"
|
||||
entrypoint: ["/init"]
|
||||
Reference in New Issue
Block a user