Adding docker-compose substitution for internal and external ports.

This commit is contained in:
Alexey Skobkin 2019-04-15 23:08:19 +03:00
parent c712119dfe
commit 6727b9d407

View file

@ -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}"