Remove hw transcode constraints from photoprism

This commit is contained in:
IamTheFij 2023-11-30 10:05:39 -08:00
parent 2d733b278c
commit f06e90ab0d
1 changed files with 9 additions and 9 deletions

View File

@ -4,16 +4,16 @@ module "photoprism_module" {
name = "photoprism" name = "photoprism"
image = "photoprism/photoprism:221118-jammy" image = "photoprism/photoprism:221118-jammy"
image_pull_timeout = "10m" image_pull_timeout = "10m"
constraints = [{ # constraints = [{
attribute = "$${meta.hw_transcode.type}" # attribute = "$${meta.hw_transcode.type}"
# operator = "is_set" # # operator = "is_set"
value = "raspberry" # value = "raspberry"
}] # }]
docker_devices = [{ # docker_devices = [{
host_path = "$${meta.hw_transcode.device}" # host_path = "$${meta.hw_transcode.device}"
container_path = "$${meta.hw_transcode.device}" # container_path = "$${meta.hw_transcode.device}"
}] # }]
resources = { resources = {
cpu = 2000 cpu = 2000
memory = 2500 memory = 2500