## Job scheduler for ofelia resource "docker_image" "ofelia" { name = "mcuadros/ofelia:latest" } resource "docker_container" "ofelia" { image = docker_image.ofelia.latest 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 = "/share/appdata/ofelia" type = "bind" } lifecycle { ignore_changes = [ ulimit, log_opts ] } }