watchtower: send notifcations via ntfy
This commit is contained in:
parent
5232858822
commit
fba636d19a
5 changed files with 5 additions and 3 deletions
Binary file not shown.
Binary file not shown.
|
@ -14,7 +14,7 @@ in
|
||||||
|
|
||||||
../nixos/git.nix
|
../nixos/git.nix
|
||||||
|
|
||||||
../nixos/arion.nix
|
(import ../nixos/arion.nix (args // { inherit secret; }))
|
||||||
../../container/adsb
|
../../container/adsb
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ in
|
||||||
|
|
||||||
(import ../nixos/tailscale.nix (args // { inherit secret; }))
|
(import ../nixos/tailscale.nix (args // { inherit secret; }))
|
||||||
|
|
||||||
../nixos/arion.nix
|
(import ../nixos/arion.nix (args // { inherit secret; }))
|
||||||
../../container/webserver
|
../../container/webserver
|
||||||
../../container/matrix
|
../../container/matrix
|
||||||
../../container/proxitok
|
../../container/proxitok
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, secret, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
|
@ -22,6 +22,8 @@
|
||||||
environment = {
|
environment = {
|
||||||
WATCHTOWER_POLL_INTERVAL = "28800";
|
WATCHTOWER_POLL_INTERVAL = "28800";
|
||||||
WATCHTOWER_LABEL_ENABLE = "true";
|
WATCHTOWER_LABEL_ENABLE = "true";
|
||||||
|
WATCHTOWER_NOTIFICATIONS = "shoutrrr";
|
||||||
|
WATCHTOWER_NOTIFICATION_URL = secret.watchtower.ntfyUrl;
|
||||||
};
|
};
|
||||||
volumes = [
|
volumes = [
|
||||||
"/var/run/docker.sock:/var/run/docker.sock"
|
"/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
|
Loading…
Reference in a new issue