Merge pull request 'Update lightstream and grafana' (#20) from telemetry-update into main

Reviewed-on: Deuxfleurs/nixcfg#20
This commit is contained in:
maximilien 2024-03-09 10:49:52 +00:00
commit 691299b5ed

View file

@ -19,7 +19,7 @@ job "telemetry-service" {
driver = "docker" driver = "docker"
config { config {
image = "litestream/litestream:0.3.9" image = "litestream/litestream:0.3.13"
args = [ args = [
"restore", "-config", "/etc/litestream.yml", "/ephemeral/grafana.db" "restore", "-config", "/etc/litestream.yml", "/ephemeral/grafana.db"
] ]
@ -45,7 +45,7 @@ job "telemetry-service" {
task "grafana" { task "grafana" {
driver = "docker" driver = "docker"
config { config {
image = "grafana/grafana:10.0.3" image = "grafana/grafana:10.3.4"
network_mode = "host" network_mode = "host"
ports = [ "grafana" ] ports = [ "grafana" ]
volumes = [ volumes = [
@ -108,7 +108,7 @@ EOH
task "replicate-db" { task "replicate-db" {
driver = "docker" driver = "docker"
config { config {
image = "litestream/litestream:0.3.7" image = "litestream/litestream:0.3.13"
args = [ args = [
"replicate", "-config", "/etc/litestream.yml" "replicate", "-config", "/etc/litestream.yml"
] ]