Refactor Docker setup to unify CLI and HTTP API under a single image. Update entrypoint to use a script for dynamic behavior based on arguments. Revise documentation to clarify usage and service distinctions.
Publish mtproxy_checker Docker image / test (push) Successful in 7s
Publish mtproxy_checker Docker image / build-and-push (push) Successful in 53s

This commit is contained in:
Denozordec
2026-04-11 01:08:10 +07:00
parent 5a66f0f2e8
commit 175136d82a
6 changed files with 31 additions and 18 deletions
+1 -2
View File
@@ -1,10 +1,9 @@
# HTTP API: список tg:// в файле, периодическая проверка, JSON по GET.
# HTTP API: тот же образ, что и CLI — без command запускается mtproxy_checkerd (см. docker-entrypoint.sh).
# Запуск: docker compose -f docker-compose.api.yaml up --build
services:
mtproxy-checkerd:
build: .
image: mtproxy_checker:local
entrypoint: ["/usr/local/bin/mtproxy_checkerd"]
ports:
- "8080:8080"
volumes: