59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
app:
|
|
id: homeassistant
|
|
name: Home Assistant
|
|
version: 2024.1.0
|
|
description: Open source home automation platform. Control and monitor your smart home devices.
|
|
|
|
container:
|
|
image: 146.59.87.168:3000/lfg2025/home-assistant:2024.1
|
|
pull_policy: if-not-present
|
|
network: pasta
|
|
|
|
dependencies:
|
|
- storage: 10Gi
|
|
|
|
resources:
|
|
cpu_limit: 2
|
|
memory_limit: 512Mi
|
|
disk_limit: 10Gi
|
|
|
|
security:
|
|
capabilities: [CHOWN, FOWNER, SETUID, SETGID, DAC_OVERRIDE, NET_BIND_SERVICE, NET_RAW]
|
|
readonly_root: false # Home Assistant needs write access
|
|
no_new_privileges: true
|
|
user: 1000
|
|
seccomp_profile: default
|
|
network_policy: isolated
|
|
apparmor_profile: home-assistant
|
|
|
|
ports:
|
|
- host: 8123
|
|
container: 8123
|
|
protocol: tcp # Web UI
|
|
|
|
volumes:
|
|
- type: bind
|
|
source: /var/lib/archipelago/home-assistant
|
|
target: /config
|
|
options: [rw]
|
|
|
|
devices: []
|
|
|
|
environment:
|
|
- TZ=UTC
|
|
|
|
health_check:
|
|
type: tcp
|
|
endpoint: localhost:8123
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
|
|
metadata:
|
|
icon: /assets/img/app-icons/homeassistant.png
|
|
category: home
|
|
author: Home Assistant
|
|
repo: https://github.com/home-assistant/core
|
|
launch:
|
|
open_in_new_tab: true
|