Update all, add configarr wip
This commit is contained in:
46
configarr.tf
Normal file
46
configarr.tf
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
data "docker_registry_image" "configarr" {
|
||||||
|
name = "ghcr.io/raydak-labs/configarr:latest"
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "docker_image" "configarr" {
|
||||||
|
name = data.docker_registry_image.configarr.name
|
||||||
|
pull_triggers = [data.docker_registry_image.configarr.sha256_digest]
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "docker_container" "configarr" {
|
||||||
|
image = docker_image.configarr.image_id
|
||||||
|
name = "configarr"
|
||||||
|
restart = "always"
|
||||||
|
|
||||||
|
log_driver = "local"
|
||||||
|
|
||||||
|
env = [
|
||||||
|
"TZ=Europe/Amsterdam"
|
||||||
|
]
|
||||||
|
|
||||||
|
mounts {
|
||||||
|
target = "/app/config"
|
||||||
|
source = "/share/appdata/configarr/config"
|
||||||
|
type = "bind"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
mounts {
|
||||||
|
target = "/app/cfs"
|
||||||
|
source = "/share/appdata/configarr/cfs"
|
||||||
|
type = "bind"
|
||||||
|
}
|
||||||
|
|
||||||
|
mounts {
|
||||||
|
target = "/app/templates"
|
||||||
|
source = "/share/appdata/configarr/templates"
|
||||||
|
type = "bind"
|
||||||
|
}
|
||||||
|
|
||||||
|
lifecycle {
|
||||||
|
ignore_changes = [
|
||||||
|
ulimit,
|
||||||
|
log_opts
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user