Compare commits
No commits in common. "08f372c6937bf49faa7f198fbfbb64eb3b86a51d" and "4793d587f96f945d0f5db71b0323e5ff3a5a74f7" have entirely different histories.
08f372c693
...
4793d587f9
5 changed files with 2 additions and 62 deletions
4
main.tf
4
main.tf
|
@ -29,7 +29,3 @@ module "renovate" {
|
||||||
module "plugin-csi" {
|
module "plugin-csi" {
|
||||||
source = "./modules/plugin-csi"
|
source = "./modules/plugin-csi"
|
||||||
}
|
}
|
||||||
|
|
||||||
module "home-assistant" {
|
|
||||||
source = "./modules/home-assistant"
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,53 +0,0 @@
|
||||||
job "homeassistant" {
|
|
||||||
group "homeassistant" {
|
|
||||||
|
|
||||||
network {
|
|
||||||
port "homeassistant" {
|
|
||||||
static = 8123
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
task "homeassistant" {
|
|
||||||
driver = "docker"
|
|
||||||
|
|
||||||
config {
|
|
||||||
image = "ghcr.io/home-assistant/home-assistant:2025.1.2"
|
|
||||||
network_mode = "host"
|
|
||||||
privileged = true
|
|
||||||
|
|
||||||
volumes = [
|
|
||||||
"/etc/localtime:/etc/localtime:ro",
|
|
||||||
"/run/dbus:/run/dbus:ro"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
volume_mount {
|
|
||||||
volume = "config"
|
|
||||||
destination = "/config"
|
|
||||||
}
|
|
||||||
|
|
||||||
resources {
|
|
||||||
cpu = 500
|
|
||||||
memory = 512
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
volume "config" {
|
|
||||||
type = "csi"
|
|
||||||
read_only = false
|
|
||||||
source = "martinibar_prod_home-assistant_config"
|
|
||||||
attachment_mode = "file-system"
|
|
||||||
access_mode = "single-node-writer"
|
|
||||||
}
|
|
||||||
|
|
||||||
service {
|
|
||||||
port = "homeassistant"
|
|
||||||
provider = "consul"
|
|
||||||
tags = [
|
|
||||||
"traefik.enable=true",
|
|
||||||
"traefik.http.routers.homeassistant.entrypoints=websecure",
|
|
||||||
"traefik.http.routers.homeassistant.rule=Host(`homeassistant.brmartin.co.uk`)"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
resource "nomad_job" "home-assistant" {
|
|
||||||
jobspec = file("${path.module}/jobspec.nomad.hcl")
|
|
||||||
}
|
|
|
@ -163,7 +163,7 @@ job "media-centre" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "ghcr.io/tautulli/tautulli:v2.15.1"
|
image = "ghcr.io/tautulli/tautulli:v2.15.0"
|
||||||
ports = ["tautulli"]
|
ports = ["tautulli"]
|
||||||
|
|
||||||
volumes = [
|
volumes = [
|
||||||
|
|
|
@ -11,7 +11,7 @@ job "renovate" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "ghcr.io/renovatebot/renovate:39.106.0"
|
image = "ghcr.io/renovatebot/renovate:39.101.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue