Adds got visualizations
- https://twitter.com/tocttou/status/994942857214603265 - https://ashishchaudhary.in/game-of-thrones-visualization
This commit is contained in:
parent
4c8486f6b9
commit
66ae57a3c5
|
@ -0,0 +1,23 @@
|
|||
data "docker_registry_image" "gotviz" {
|
||||
name = "tocttou/gotviz:latest"
|
||||
}
|
||||
|
||||
resource "docker_image" "gotviz" {
|
||||
name = "${data.docker_registry_image.gotviz.name}"
|
||||
pull_triggers = ["${data.docker_registry_image.gotviz.sha256_digest}"]
|
||||
}
|
||||
|
||||
resource "docker_container" "gotviz" {
|
||||
name = "gotviz"
|
||||
image = "${docker_image.gotviz.latest}"
|
||||
|
||||
labels = "${merge(
|
||||
local.traefik_common_labels, map(
|
||||
"traefik.port", 8080,
|
||||
"traefik.frontend.rule","Host:got-relationships.${var.domain}"
|
||||
))}"
|
||||
|
||||
restart = "unless-stopped"
|
||||
destroy_grace_seconds = 60
|
||||
must_run = true
|
||||
}
|
Loading…
Reference in New Issue