Files
telemt-api/docker-compose.yml
T
Denozordec ed785cb8f3
Publish telemt-api gateway Docker image / test (push) Successful in 28s
Publish telemt-api gateway Docker image / build-and-push (push) Successful in 2m10s
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.
2026-03-31 00:54:41 +07:00

21 lines
762 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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