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
|
||||
# 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=
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue