Adding docker-compose substitution for internal and external ports.
This commit is contained in:
parent
c712119dfe
commit
6727b9d407
|
@ -5,7 +5,7 @@ services:
|
||||||
image: nineseconds/mtg:stable
|
image: nineseconds/mtg:stable
|
||||||
container_name: proxy-mtproto
|
container_name: proxy-mtproto
|
||||||
ports:
|
ports:
|
||||||
- "444:443/tcp"
|
- "${MTG_IPV4_PORT}:${MTG_PORT}/tcp"
|
||||||
env_file: .env
|
env_file: .env
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: "${MTPROTO_SECRET} ${MTPROTO_TAG}"
|
command: "${MTPROTO_SECRET} ${MTPROTO_TAG}"
|
||||||
|
|
Loading…
Reference in a new issue