mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 08:45:02 +01:00
some hostnames
This commit is contained in:
parent
33a7017375
commit
9121101308
4 changed files with 12 additions and 9 deletions
|
|
@ -6,6 +6,10 @@ in
|
|||
{
|
||||
deployment.targetHost = "${name}.infra.noratrieb.dev";
|
||||
|
||||
networking.hosts = {
|
||||
"${networkingConfig.vps3.wg.privateIP}" = [ "loki.internal" "pyroscope.internal" "prometheus.internal" ];
|
||||
};
|
||||
|
||||
imports = [
|
||||
"${builtins.fetchTarball "https://github.com/ryantm/agenix/archive/de96bd907d5fbc3b14fc33ad37d1b9a3cb15edc6.tar.gz"}/modules/age.nix" # main 2024-07-26
|
||||
];
|
||||
|
|
@ -126,7 +130,7 @@ in
|
|||
};
|
||||
clients = [
|
||||
{
|
||||
url = "http://vps3.local:3100/loki/api/v1/push";
|
||||
url = "http://loki.internal:3100/loki/api/v1/push";
|
||||
}
|
||||
];
|
||||
scrape_configs = [
|
||||
|
|
@ -217,7 +221,7 @@ in
|
|||
|
||||
pyroscope.write "endpoint" {
|
||||
endpoint {
|
||||
url = "http://vps3.local:4040"
|
||||
url = "http://pyroscope.internal:4040"
|
||||
}
|
||||
external_labels = {
|
||||
"instance" = env("HOSTNAME"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue