data "docker_registry_image" "video_bucket" { name = "ghcr.io/matthewbaggett/bucket-serve:latest" } resource "docker_service" "video_bucket" { name = "video-bucket" task_spec { container_spec { image = "${data.docker_registry_image.video_bucket.name}@${data.docker_registry_image.video_bucket.sha256_digest}" configs { config_id = docker_config.video_bucket_config.id config_name = docker_config.video_bucket_config.name file_name = "/app/.env" } } networks_advanced { name = docker_network.loadbalancer.id } restart_policy { condition = "any" delay = "0s" window = "0s" } } } locals { video_bucket_config = <