- 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.
21 lines
762 B
YAML
21 lines
762 B
YAML
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
|