Store monitoring TG media in MinIO
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 45s

This commit is contained in:
Grendgi
2026-06-05 16:58:08 +03:00
parent 4ac976b4eb
commit a924cd832b
10 changed files with 248 additions and 9 deletions

View File

@@ -14,6 +14,11 @@ data:
POSTGRES_DB: "parser"
TG_SESSION_PATH: "/data/session/parser.session"
MEDIA_DIR: "/data/media"
MINIO_ENDPOINT: "s3-minio.estateliga.work"
MINIO_BUCKET: "monitoring-tg-media"
MINIO_USE_SSL: "1"
MINIO_INSECURE_SKIP_VERIFY: "0"
MINIO_REGION: "us-east-1"
POLL_INTERVAL_SECONDS: "60"
POLL_HISTORY_LIMIT: "50"
LLM_ENABLED: "1"

View File

@@ -11,6 +11,8 @@ stringData:
TG_SESSION_STRING: ""
POSTGRES_PASSWORD: "parser"
LLM_API_KEY: "sk-111f838ccec43406e078cd9094b6797307cb895236179f32"
MINIO_ACCESS_KEY: "admjn"
MINIO_SECRET_KEY: "TropicalMacaw9Fantasize"
---
apiVersion: v1
kind: Secret

View File

@@ -27,6 +27,10 @@ spec:
labels:
app: monitoring-tg-server
spec:
hostAliases:
- ip: "77.105.173.42"
hostnames:
- "s3-minio.estateliga.work"
terminationGracePeriodSeconds: 20
securityContext:
fsGroup: 1000