sunday 5th apr (rip mark hollis) (#52)

* lots of work

* feat: move rg-stats in, ensure consistency in db queries

* the clocks dont work

* almost

* ok jesus been and gone now back to usual
This commit is contained in:
zk
2026-04-06 01:25:30 +01:00
committed by GitHub
parent 71e8aa2152
commit edda03e916
217 changed files with 11757 additions and 1496 deletions
+60 -1
View File
@@ -76,6 +76,7 @@ services:
- "8080:8080" # server
- "3000:3000" # client
- "3001:3001" # docs
- "9779:9779" # metrics
volumes:
- ./:/tachi
# Mount your home files under your-pc, so you can easily access them
@@ -84,9 +85,67 @@ services:
- /tachi/node_modules/
- /tachi/.bun
# Local observability (Grafana + Prometheus + Alloy). Grafana UI: http://localhost:3005
# Alloy scrapes the API metrics endpoint at tachi-dev:9779 and remote-writes into Prometheus.
tachi-grafana:
container_name: tachi-grafana
image: grafana/grafana:12.4.2
restart: unless-stopped
depends_on:
- tachi-prometheus
ports:
- "3005:3000"
environment:
GF_SECURITY_ADMIN_USER: admin
GF_SECURITY_ADMIN_PASSWORD: admin
GF_USERS_ALLOW_SIGN_UP: "false"
GF_SERVER_HTTP_ADDR: 0.0.0.0
GF_SERVER_HTTP_PORT: "3000"
GF_SERVER_ROOT_URL: http://localhost:3005
volumes:
- tachi-grafana:/var/lib/grafana
- ./dev/observability/grafana/provisioning:/etc/grafana/provisioning
- ./dev/observability/grafana/dashboards:/var/lib/grafana/dashboards
tachi-prometheus:
container_name: tachi-prometheus
image: prom/prometheus:v3.11.0
restart: unless-stopped
command:
- --config.file=/etc/prometheus/prometheus.yml
- --storage.tsdb.path=/prometheus
- --web.enable-lifecycle
- --web.enable-remote-write-receiver
ports:
- "9090:9090"
volumes:
- tachi-prometheus:/prometheus
- ./dev/observability/prometheus.yml:/etc/prometheus/prometheus.yml
tachi-alloy:
container_name: tachi-alloy
image: grafana/alloy:v1.15.0
restart: unless-stopped
depends_on:
- tachi-prometheus
command:
- run
- --server.http.listen-addr=0.0.0.0:12345
- --storage.path=/var/lib/alloy/data
- /etc/alloy/config.alloy
ports:
- "12345:12345"
# Writable WAL path (named volumes are often root-owned; Alloy runs non-root and can crash-loop).
tmpfs:
- /var/lib/alloy/data
volumes:
- ./dev/observability/alloy-config.alloy:/etc/alloy/config.alloy
volumes:
tachi-volume:
tachi-redis:
tachi-logs:
tachi-postgres:
tachi-minio:
tachi-minio:
tachi-grafana:
tachi-prometheus: