first work version

This commit is contained in:
vvzvlad
2025-02-01 16:47:46 +03:00
parent 81b0f029e8
commit 6e367b3ac9
11 changed files with 354 additions and 113 deletions
+25
View File
@@ -0,0 +1,25 @@
services:
pyrogram_bridge:
image: ghcr.io/vvzvlad/pyrogram-bridge:latest
container_name: pyrogram-bridge
environment:
TG_API_ID: ${TG_API_ID}
TG_API_HASH: ${TG_API_HASH}
TG_SESSION_STRING: ${TG_SESSION_STRING}
TZ: Europe/Moscow
volumes:
- ./sessions:/data
ports:
- "8000:8000"
restart: always
logging:
driver: "json-file"
options:
max-file: 5
max-size: 10m
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/status"]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s