caddy: add individual tags to caddy-tailscale services

This commit is contained in:
wo2wz 2025-12-14 12:38:43 -05:00
parent 76ff79019c
commit 6dfbcb22c2
2 changed files with 25 additions and 3 deletions

View file

@ -50,6 +50,7 @@
}
}
'';
# have to specify node tags here because if there are two tailscale blocks it just dont work
globalConfig = ''
grace_period 30s
@ -71,6 +72,27 @@
state_dir ${config.services.caddy.dataDir}/caddy-tailscale
ephemeral true
tags tag:drone
grafana {
tags tag:drone tag:grafana
}
jellyfin {
tags tag:drone tag:jellyfin
}
ntfy {
tags tag:drone tag:ntfy
}
prometheus {
tags tag:drone tag:prometheus
}
restic {
tags tag:drone tag:restic
}
vaultwarden {
tags tag:drone tag:vaultwarden
}
}
'';