terraform { required_providers { docker = { source = "kreuzwerker/docker" version = "3.0.2" } postgresql = { source = "cyrilgdn/postgresql" version = "1.21.0" } random = { source = "hashicorp/random" version = "3.5.1" } sops = { source = "lokkersp/sops" version = "0.6.10" } } } locals { host = "hash.trygvis.io" host_config_dir = "/etc/docker-service/loki" container_config_dir = "/config" } provider "docker" { host = "ssh://${local.host}" } data "docker_network" "traefik" { name = "traefik" } data "docker_network" "dn42" { name = "dn42" }