proxy-mtproto. Trying another image.
This commit is contained in:
parent
6086262681
commit
ce51cf50e3
|
@ -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=
|
|
@ -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}"
|
|
||||||
|
|
Loading…
Reference in a new issue