--- 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