Attach traefik to monitoring network

This commit is contained in:
Nemo 2018-06-04 21:54:05 +05:30
parent 022f8f7ce6
commit b4447c7b8d
1 changed files with 8 additions and 1 deletions

View File

@ -97,7 +97,14 @@ resource "docker_container" "traefik" {
// https://github.com/terraform-providers/terraform-provider-docker/issues/10 // https://github.com/terraform-providers/terraform-provider-docker/issues/10
// //
// The extra IDs are till https://github.com/containous/traefik/issues/3429 is resolved // The extra IDs are till https://github.com/containous/traefik/issues/3429 is resolved
networks = ["${docker_network.traefik.id}", "31efc1966139", "f0d3bbcf75dd", "aad198ad4ba8"] // gitea, media, opml, monitoring
networks = [
"${docker_network.traefik.id}",
"31efc1966139",
"f0d3bbcf75dd",
"aad198ad4ba8",
"021125972c4b",
]
env = [ env = [
"CLOUDFLARE_EMAIL=${var.cloudflare_email}", "CLOUDFLARE_EMAIL=${var.cloudflare_email}",