fix config
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user