2018-01-06 10:25:39 +00:00
|
|
|
# Transmission Exporter for prometheus
|
|
|
|
# https://github.com/metalmatze/transmission-exporter
|
|
|
|
resource docker_container "transmission-exporter" {
|
|
|
|
name = "transmission-exporter"
|
|
|
|
image = "${docker_image.transmission-exporter.latest}"
|
|
|
|
|
|
|
|
links = ["transmission"]
|
|
|
|
|
|
|
|
env = [
|
2018-01-23 06:41:43 +00:00
|
|
|
"TRANSMISSION_ADDR=http://transmission:9091",
|
2018-01-06 10:25:39 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
restart = "unless-stopped"
|
|
|
|
destroy_grace_seconds = 10
|
|
|
|
must_run = true
|
|
|
|
}
|