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 # see https://hub.docker.com/r/mtproxy/mtproxy
# 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
# Internal port # Internal port
INTERNAL_PORT=444 PORT=444
# External port
EXTERNAL_PORT=444 EXTERNAL_PORT=444
# External IP
IP=123.456.789.012
# docker-compose.yml substitution: # docker-compose.yml substitution:
PROXY_SECRET= SECRET=
PROXY_TAG= #TAG=

View file

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