Update Mihomo configuration and documentation for clarity
- 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:
+2
-4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user