Updates; change crontab

This commit is contained in:
Alex 2022-03-07 16:57:43 +01:00
parent 217e31e4bd
commit 27ffee95b8
Signed by: lx
GPG key ID: 0E496D15096376BE
2 changed files with 2 additions and 2 deletions

View file

@ -102,7 +102,7 @@ EOH
task "grafana" { task "grafana" {
driver = "docker" driver = "docker"
config { config {
image = "grafana/grafana:8.3.5" image = "grafana/grafana:8.4.3"
network_mode = "host" network_mode = "host"
ports = [ "grafana" ] ports = [ "grafana" ]
volumes = [ volumes = [

View file

@ -13,7 +13,7 @@
enable = true; enable = true;
systemCronJobs = [ systemCronJobs = [
"0 2 * * * root nix-collect-garbage --delete-older-than 10d >> /root/nix_gc_log 2>&1" "0 2 * * * root nix-collect-garbage --delete-older-than 10d >> /root/nix_gc_log 2>&1"
"30 2 * * * root docker run --rm -v /var/lib/drone/nix:/nix nixpkgs/nix:nixos-21.05 nix-collect-garbage --delete-older-than 30d >> /root/drone_nix_gc_log 2>&1" "30 2 1 * * root docker run --rm -v /var/lib/drone/nix:/nix nixpkgs/nix:nixos-21.05 nix-collect-garbage --delete-older-than 30d >> /root/drone_nix_gc_log 2>&1"
]; ];
}; };
} }