watchtower: set hostname
This commit is contained in:
parent
fba636d19a
commit
c645eed5b9
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, secret, ... }:
|
||||
{ pkgs, config, secret, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = [
|
||||
|
@ -23,6 +23,7 @@
|
|||
WATCHTOWER_POLL_INTERVAL = "28800";
|
||||
WATCHTOWER_LABEL_ENABLE = "true";
|
||||
WATCHTOWER_NOTIFICATIONS = "shoutrrr";
|
||||
WATCHTOWER_NOTIFICATIONS_HOSTNAME = config.networking.hostName;
|
||||
WATCHTOWER_NOTIFICATION_URL = secret.watchtower.ntfyUrl;
|
||||
};
|
||||
volumes = [
|
||||
|
|
Loading…
Reference in a new issue