services: telegram-app: build: context: . dockerfile: Dockerfile.custom container_name: telegram-app restart: unless-stopped network_mode: host environment: - HTTP_PROXY=http://127.0.0.1:7890 - HTTPS_PROXY=http://127.0.0.1:7890 - http_proxy=http://127.0.0.1:7890 - https_proxy=http://127.0.0.1:7890 - NO_PROXY=localhost,127.0.0.1 volumes: - ./sessions:/app/sessions - ./.env:/app/.env - ./db:/app/db - ./logs:/app/logs - ./temp:/app/temp logging: driver: "json-file" options: max-size: "10m" max-file: "3" compress: "true" stdin_open: true tty: true