Update Mihomo configuration and documentation for clarity
Publish telemt-api gateway Docker image / test (push) Successful in 28s
Publish telemt-api gateway Docker image / build-and-push (push) Successful in 2m10s

- Revised comments in `config.example.yaml` to enhance understanding of Mihomo integration, including environment variable usage and Docker Compose setup.
- Updated `docker-compose.yml` comments to clarify the relationship between the gateway and Mihomo service.
- Enhanced `GATEWAY_RUN.md` to provide clearer instructions on configuring Mihomo parameters and their usage in the gateway.
This commit is contained in:
Denozordec
2026-03-31 00:54:41 +07:00
parent a24fc90b39
commit ed785cb8f3
6 changed files with 46 additions and 63 deletions
+2 -4
View File
@@ -8,13 +8,11 @@ services:
- ./config.compose.yaml:/etc/telemt-gateway/config.yaml:ro
environment:
CONFIG_PATH: /etc/telemt-gateway/config.yaml
# Опционально: Mihomo в той же Docker-сети, что и gateway (см. docs/GATEWAY_RUN.md)
# MIHOMO_CONTROLLER_URL: http://mihomo:9090
# TELEMT_MIHOMO_AUTH: Bearer ${CLASH_SECRET}
# Вместе с 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:
# С контейнером mihomo в сети proxy-net:
# networks:
# - proxy-net
# networks: