Add a fallback port for the terminal to avoid crashing proxies

This commit is contained in:
Kristóf Tóth
2019-10-08 14:24:31 +02:00
parent 251bc6325a
commit 641709c04e
4 changed files with 18 additions and 7 deletions

View File

@ -4,6 +4,7 @@ FROM avatao/debian:buster
RUN apt-get update &&\
apt-get install -y --no-install-recommends \
supervisor \
ncat \
libzmq5 \
nginx \
jq \
@ -19,12 +20,13 @@ RUN curl -Ls https://github.com/krallin/tini/releases/download/v0.18.0/tini-amd6
sha256sum --check --status &&\
chmod 755 /bin/init
ENV TFW_PUBLIC_PORT=8888 \
TFW_WEB_PORT=4242 \
TFW_LOGIN_APP_PORT=6666 \
TFW_TERMINADO_PORT=7878 \
TFW_SUPERVISOR_HTTP_PORT=9001 \
TFW_PUB_PORT=7654 \
ENV TFW_PUBLIC_PORT=8888 \
TFW_WEB_PORT=4242 \
TFW_LOGIN_APP_PORT=6666 \
TFW_TERMINAL_PORT=7878 \
TFW_TERMINAL_FALLBACK_PORT=7879 \
TFW_SUPERVISOR_HTTP_PORT=9001 \
TFW_PUB_PORT=7654 \
TFW_PULL_PORT=8765
EXPOSE ${TFW_PUBLIC_PORT}