Disable some services

Move vikunja, ofellia and nginx-lb to microos
This commit is contained in:
Marc Fokkert
2025-08-31 08:45:51 +02:00
parent 5c7f056376
commit 46a9677551
13 changed files with 14 additions and 15 deletions

36
core-os-podman/ofelia.tf Normal file
View File

@@ -0,0 +1,36 @@
## Job scheduler for ofelia
data "docker_registry_image" "ofelia" {
name = "mcuadros/ofelia:latest"
}
resource "docker_image" "ofelia" {
name = data.docker_registry_image.ofelia.name
pull_triggers = [data.docker_registry_image.ofelia.sha256_digest]
}
resource "docker_container" "ofelia" {
image = docker_image.ofelia.image_id
name = "ofelia"
restart = "always"
mounts {
target = "/var/run/docker.sock"
source = "/var/run/docker.sock"
type = "bind"
read_only = true
}
mounts {
target = "/etc/ofelia"
source = "/var/lib/containers/ofelia"
type = "bind"
}
lifecycle {
ignore_changes = [
ulimit,
log_opts
]
}
}