proxy-mtproto. Trying another image.

This commit is contained in:
Alexey Skobkin 2020-05-12 02:34:05 +03:00
parent 6086262681
commit ce51cf50e3
No known key found for this signature in database
GPG Key ID: 5D5CEF6F221278E7
2 changed files with 10 additions and 10 deletions

View File

@ -1,12 +1,13 @@
# see https://hub.docker.com/r/nineseconds/mtg
# IPv4 address of this proxy. This is required if you NAT your proxy or run it in a docker container.
# https://github.com/9seconds/mtg#environment-variables
MTG_IPV4=123.456.789.012:444
# see https://hub.docker.com/r/mtproxy/mtproxy
# Internal port
INTERNAL_PORT=444
PORT=444
# External port
EXTERNAL_PORT=444
# External IP
IP=123.456.789.012
# docker-compose.yml substitution:
PROXY_SECRET=
PROXY_TAG=
SECRET=
#TAG=

View File

@ -2,10 +2,9 @@ version: '3.7'
services:
mtg:
image: nineseconds/mtg:latest
image: mtproxy/mtproxy
container_name: proxy-mtproto
ports:
- "${EXTERNAL_PORT}:${INTERNAL_PORT}/tcp"
- "${EXTERNAL_PORT}:${PORT}/tcp"
env_file: .env
restart: unless-stopped
command: "run ${PROXY_SECRET} ${PROXY_TAG}"