Bot become a Community Guard & Post send manager

added: dictionary support for censore
message/user management with dict triggers
This commit is contained in:
2025-08-22 21:44:14 +09:00
parent efdafb0efa
commit c16ec54891
27 changed files with 1746 additions and 184 deletions

View File

@@ -1,4 +1,3 @@
version: "3.9"
services:
db:
image: postgres:16-alpine
@@ -23,6 +22,29 @@ services:
condition: service_healthy
env_file: .env
restart: unless-stopped
volumes:
- .:/app
redis:
image: redis:7-alpine
command: ["redis-server","--save","", "--appendonly","no"]
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 10
ports:
- "${REDIS_PORT:-6379}:6379"
prometheus:
image: prom/prometheus:v2.55.1
command: ["--config.file=/etc/prometheus/prometheus.yml"]
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
depends_on:
- bot
ports:
- "9090:9090"
volumes:
pgdata: