fix config
All checks were successful
Docker Image CI / test (push) Successful in 34m23s
Docker Image CI / push (push) Successful in 34m0s

This commit is contained in:
2026-04-15 12:58:49 +03:00
parent ce8f754b0d
commit 46ad589909
2 changed files with 25 additions and 18 deletions

View File

@@ -2,11 +2,30 @@
services:
tg-bot-api:
build: build
restart: no
command: >-
--http-stat-port=8087
--max-webhook-connections=100
--max-connections=100
--dir="/data"
--temp-dir="/data/tmp"
--log=/dev/stdout
--verbosity=1
# --proxy="..."
restart: unless-stopped
security_opt:
- no-new-privileges:true
healthcheck:
test: curl -fsS http://127.0.0.1:8087/ -o /dev/null || exit 1
start_period: 10s
interval: 30s
timeout: 5s
retries: 3
#user: $UID:$GID
#volumes:
# - "./data:/var/lib/telegram-bot-api:rw"
# - "./data:/data:rw"
#ports:
# - "8081:8081/tcp"
# - "8081:8081/tcp" # main port
# - "8087:8087/tcp" # stats port
#env_file:
# - .env
logging: