1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

feat: enable promtail on all vms

This commit is contained in:
oddlama 2023-06-18 14:31:23 +02:00
parent 4d5813a2ad
commit d6af975817
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
12 changed files with 81 additions and 30 deletions

View file

@ -48,7 +48,7 @@ in {
clients = [
{
basic_auth.username = nodeName;
basic_auth.username = "${nodeName}:promtail-loki-basic-auth-password";
basic_auth.password_file = config.age.secrets.promtail-loki-basic-auth-password.path;
url = "https://${nodes.${cfg.proxy}.config.proxiedDomains.loki}/loki/api/v1/push";
}