This commit is contained in:
Sparky
2025-10-10 16:23:20 +01:00
parent def9383cdb
commit dc8c99002c
4 changed files with 147 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ https://git.site.quack-lab.dev {
https://grafana.site.quack-lab.dev {
encode zstd gzip
handle_path /* {
reverse_proxy 10.0.35.3:43433
reverse_proxy :43433
}
header -Server
try_files {path} /index.html /index.php
@@ -171,6 +171,14 @@ https://torrent.site.quack-lab.dev {
header -Server
try_files {path} /index.html /index.php
}
https://victoria-site.quack-lab.dev {
encode zstd gzip
handle_path /* {
reverse_proxy 10.0.35.3:8428
}
header -Server
try_files {path} /index.html /index.php
}
https://zipline.site.quack-lab.dev {
encode zstd gzip
handle_path /* {

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,6 @@
SERVICE_NAME_VMAGENT=vmagent
SERVICE_NAME_NODEEXPORTER=nodeexporter
SERVICE_NAME_VICTORIAMETRICS=victoriametrics
SERVICE_NAME_GRAFANA=grafana
SERVICE_FQDN_GRAFANA=grafana.site.quack-lab.dev
SERVICE_FQDN_GRAFANA_43433=grafana.site.quack-lab.dev

View File

@@ -1,4 +1,135 @@
services:
vmagent:
image: 'victoriametrics/vmagent:latest'
container_name: vmagent-jococcw004848ck4k0owwww0
volumes:
- '/mnt/data/linux/config/monitoring/prometheus/config:/config'
- '/mnt/data/linux/config/monitoring/vmagent/data:/vmagentdata'
command:
- '--promscrape.config=/config/prometheus.yml'
- '--remoteWrite.url=http://127.0.0.1:8428/api/v1/write'
- '--httpListenAddr=:43261'
- '--remoteWrite.maxDiskUsagePerURL=2GB'
- '--promscrape.discovery.concurrency=10'
- '--promscrape.suppressScrapeErrors=false'
extra_hosts:
- 'host.docker.internal:host-gateway'
restart: unless-stopped
labels:
- coolify.managed=true
- coolify.version=4.0.0-beta.434
- coolify.serviceId=5
- coolify.type=service
- coolify.name=vmagent-jococcw004848ck4k0owwww0
- coolify.resourceName=monitoring
- coolify.projectName=services
- coolify.serviceName=vmagent
- coolify.environmentName=production
- coolify.pullRequestId=0
- coolify.service.subId=39
- coolify.service.subType=application
- coolify.service.subName=vmagent
networks:
jococcw004848ck4k0owwww0: null
environment:
COOLIFY_RESOURCE_UUID: jococcw004848ck4k0owwww0
COOLIFY_CONTAINER_NAME: vmagent-jococcw004848ck4k0owwww0
SERVICE_NAME_VMAGENT: vmagent
SERVICE_NAME_NODEEXPORTER: nodeexporter
SERVICE_NAME_VICTORIAMETRICS: victoriametrics
SERVICE_NAME_GRAFANA: grafana
nodeexporter:
image: 'prom/node-exporter:v1.8.2'
container_name: nodeexporter-jococcw004848ck4k0owwww0
volumes:
- '/proc:/host/proc:ro'
- '/sys:/host/sys:ro'
- '/:/rootfs:ro'
command:
- '--path.procfs=/host/proc'
- '--path.rootfs=/rootfs'
- '--path.sysfs=/host/sys'
- '--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)($$|/)'
- '--web.listen-address=:56546'
restart: unless-stopped
labels:
- coolify.managed=true
- coolify.version=4.0.0-beta.434
- coolify.serviceId=5
- coolify.type=service
- coolify.name=nodeexporter-jococcw004848ck4k0owwww0
- coolify.resourceName=monitoring
- coolify.projectName=services
- coolify.serviceName=nodeexporter
- coolify.environmentName=production
- coolify.pullRequestId=0
- coolify.service.subId=36
- coolify.service.subType=application
- coolify.service.subName=nodeexporter
networks:
jococcw004848ck4k0owwww0: null
environment:
COOLIFY_RESOURCE_UUID: jococcw004848ck4k0owwww0
COOLIFY_CONTAINER_NAME: nodeexporter-jococcw004848ck4k0owwww0
SERVICE_NAME_VMAGENT: vmagent
SERVICE_NAME_NODEEXPORTER: nodeexporter
SERVICE_NAME_VICTORIAMETRICS: victoriametrics
SERVICE_NAME_GRAFANA: grafana
victoriametrics:
image: victoriametrics/victoria-metrics
container_name: victoriametrics-jococcw004848ck4k0owwww0
volumes:
- '/mnt/data/linux/config/monitoring/victoriametrics/data:/victoria-metrics-data'
command:
- '--retentionPeriod=100y'
restart: unless-stopped
labels:
- coolify.managed=true
- coolify.version=4.0.0-beta.434
- coolify.serviceId=5
- coolify.type=service
- coolify.name=victoriametrics-jococcw004848ck4k0owwww0
- coolify.resourceName=monitoring
- coolify.projectName=services
- coolify.serviceName=victoriametrics
- coolify.environmentName=production
- coolify.pullRequestId=0
- coolify.service.subId=34
- coolify.service.subType=application
- coolify.service.subName=victoriametrics
- traefik.enable=true
- traefik.http.middlewares.gzip.compress=true
- traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https
- traefik.http.routers.http-0-jococcw004848ck4k0owwww0-victoriametrics.entryPoints=http
- traefik.http.routers.http-0-jococcw004848ck4k0owwww0-victoriametrics.middlewares=redirect-to-https
- 'traefik.http.routers.http-0-jococcw004848ck4k0owwww0-victoriametrics.rule=Host(`victoria-site.quack-lab.dev`) && PathPrefix(`/`)'
- traefik.http.routers.http-0-jococcw004848ck4k0owwww0-victoriametrics.service=http-0-jococcw004848ck4k0owwww0-victoriametrics
- traefik.http.routers.https-0-jococcw004848ck4k0owwww0-victoriametrics.entryPoints=https
- traefik.http.routers.https-0-jococcw004848ck4k0owwww0-victoriametrics.middlewares=gzip
- 'traefik.http.routers.https-0-jococcw004848ck4k0owwww0-victoriametrics.rule=Host(`victoria-site.quack-lab.dev`) && PathPrefix(`/`)'
- traefik.http.routers.https-0-jococcw004848ck4k0owwww0-victoriametrics.service=https-0-jococcw004848ck4k0owwww0-victoriametrics
- traefik.http.routers.https-0-jococcw004848ck4k0owwww0-victoriametrics.tls.certresolver=letsencrypt
- traefik.http.routers.https-0-jococcw004848ck4k0owwww0-victoriametrics.tls=true
- traefik.http.services.http-0-jococcw004848ck4k0owwww0-victoriametrics.loadbalancer.server.port=8428
- traefik.http.services.https-0-jococcw004848ck4k0owwww0-victoriametrics.loadbalancer.server.port=8428
- 'caddy_0.encode=zstd gzip'
- 'caddy_0.handle_path.0_reverse_proxy={{upstreams 8428}}'
- 'caddy_0.handle_path=/*'
- caddy_0.header=-Server
- 'caddy_0.try_files={path} /index.html /index.php'
- 'caddy_0=https://victoria-site.quack-lab.dev'
- caddy_ingress_network=jococcw004848ck4k0owwww0
networks:
jococcw004848ck4k0owwww0: null
environment:
COOLIFY_RESOURCE_UUID: jococcw004848ck4k0owwww0
COOLIFY_CONTAINER_NAME: victoriametrics-jococcw004848ck4k0owwww0
COOLIFY_FQDN: victoria-site.quack-lab.dev
COOLIFY_URL: 'https://victoria-site.quack-lab.dev'
SERVICE_NAME_VMAGENT: vmagent
SERVICE_NAME_NODEEXPORTER: nodeexporter
SERVICE_NAME_VICTORIAMETRICS: victoriametrics
SERVICE_NAME_GRAFANA: grafana
grafana:
image: grafana/grafana
environment:
@@ -10,9 +141,10 @@ services:
COOLIFY_CONTAINER_NAME: grafana-jococcw004848ck4k0owwww0
COOLIFY_FQDN: grafana.site.quack-lab.dev
COOLIFY_URL: 'https://grafana.site.quack-lab.dev'
SERVICE_NAME_VMAGENT: vmagent
SERVICE_NAME_NODEEXPORTER: nodeexporter
SERVICE_NAME_VICTORIAMETRICS: victoriametrics
SERVICE_NAME_GRAFANA: grafana
extra_hosts:
- 'host.docker.internal:host-gateway'
volumes:
- '/mnt/data/persistent/monitoring/grafana/data:/var/lib/grafana'
- '/mnt/data/persistent/monitoring/grafana/config:/etc/grafana'