chore(home-assistant): format job specification for consistency
This commit is contained in:
parent
d7582b320f
commit
08f372c693
1 changed files with 7 additions and 7 deletions
|
@ -11,9 +11,9 @@ job "homeassistant" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "ghcr.io/home-assistant/home-assistant:2025.1.2"
|
image = "ghcr.io/home-assistant/home-assistant:2025.1.2"
|
||||||
network_mode = "host"
|
network_mode = "host"
|
||||||
privileged = true
|
privileged = true
|
||||||
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"/etc/localtime:/etc/localtime:ro",
|
"/etc/localtime:/etc/localtime:ro",
|
||||||
|
@ -22,7 +22,7 @@ job "homeassistant" {
|
||||||
}
|
}
|
||||||
|
|
||||||
volume_mount {
|
volume_mount {
|
||||||
volume = "config"
|
volume = "config"
|
||||||
destination = "/config"
|
destination = "/config"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,11 +33,11 @@ job "homeassistant" {
|
||||||
}
|
}
|
||||||
|
|
||||||
volume "config" {
|
volume "config" {
|
||||||
type = "csi"
|
type = "csi"
|
||||||
read_only = false
|
read_only = false
|
||||||
source = "martinibar_prod_home-assistant_config"
|
source = "martinibar_prod_home-assistant_config"
|
||||||
attachment_mode = "file-system"
|
attachment_mode = "file-system"
|
||||||
access_mode = "single-node-writer"
|
access_mode = "single-node-writer"
|
||||||
}
|
}
|
||||||
|
|
||||||
service {
|
service {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue