services: gateway: image: git.shts.su/denozord/telemt-api:latest # Локальная сборка с Web UI внутри образа: build: . и image: telemt-api-gateway:local ports: - "8080:8080" volumes: - ./config.compose.yaml:/etc/telemt-gateway/config.yaml:ro environment: CONFIG_PATH: /etc/telemt-gateway/config.yaml # Вместе с Mihomo в config.yaml: TELEMT_MIHOMO_AUTH: Bearer ${CLASH_SECRET} # Доступ к Telemt на хосте Linux (host.docker.internal в config.compose.yaml): extra_hosts: - "host.docker.internal:host-gateway" # С контейнером mihomo в сети proxy-net: # networks: # - proxy-net # networks: # proxy-net: # external: true