Files
docker-tg-bot-api/docker-compose.yml
Dmitry 46ad589909
All checks were successful
Docker Image CI / test (push) Successful in 34m23s
Docker Image CI / push (push) Successful in 34m0s
fix config
2026-04-15 12:58:49 +03:00

36 lines
780 B
YAML

---
services:
tg-bot-api:
build: build
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:/data:rw"
#ports:
# - "8081:8081/tcp" # main port
# - "8087:8087/tcp" # stats port
#env_file:
# - .env
logging:
driver: json-file
options:
max-file: '5'
max-size: 10m