Add Caddy metrics

This commit is contained in:
Mathieu Strypsteen 2025-01-03 21:23:17 +01:00
parent 9ef5b5348f
commit 08554db622
Signed by: mathieu
GPG key ID: 782A42E461BC6824
4 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,11 @@
{
servers {
metrics
}
}
:2019 {
metrics
}
(base) {
header {
>Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"

View file

@ -1,4 +1,9 @@
global:
scrape_interval: 15s
scrape_configs:
- job_name: prometheus
static_configs:
- targets: ["192.168.253.1:9100"]
- job_name: caddy
static_configs:
- targets: ["systemd-caddy.:2019"]

View file

@ -1,8 +1,8 @@
[Container]
Image=ghcr.io/invoke-ai/invokeai:5-cuda
UserNS=auto:uidmapping=0:0:1
AddDevice=nvidia.com/gpu=all
Volume=systemd-invokeai:/invokeai:U,Z
Environment=CONTAINER_UID=999
PublishPort=10.0.2.2:9090:9090
AutoUpdate=registry
[Install]

View file

@ -1,6 +1,5 @@
[Container]
Image=docker.io/ollama/ollama
UserNS=auto:uidmapping=0:0:1
AddDevice=nvidia.com/gpu=all
Volume=systemd-ollama:/root/.ollama/models:U,Z
Environment=OLLAMA_FLASH_ATTENTION=true