chore: backup infrastructure configurations [skip ci]
This commit is contained in:
@@ -64,9 +64,11 @@ job "homeassistant" {
|
||||
task "hass" {
|
||||
driver = "docker"
|
||||
config {
|
||||
image = "linuxserver/homeassistant:latest"
|
||||
network_mode = "host"
|
||||
cap_add = ["NET_ADMIN"]
|
||||
image = "ghcr.io/home-assistant/home-assistant:stable"
|
||||
image_pull_timeout = "10m"
|
||||
force_pull = false
|
||||
network_mode = "host"
|
||||
cap_add = ["NET_ADMIN"]
|
||||
volumes = [
|
||||
"/etc/localtime:/etc/localtime:ro",
|
||||
"/mnt/Public/config/homeassistant:/config",
|
||||
@@ -76,7 +78,8 @@ job "homeassistant" {
|
||||
env {
|
||||
JEMALLOC_DISABLE = true
|
||||
PUID = "1000"
|
||||
PGID = "1000"
|
||||
PGID = "0"
|
||||
SKIP_CHOWN = "true"
|
||||
}
|
||||
|
||||
resources {
|
||||
@@ -103,7 +106,7 @@ job "homeassistant" {
|
||||
|
||||
network {
|
||||
port "http" {
|
||||
static = 8124
|
||||
static = 8123
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user