From da028e4e497706efab5b71de6711c2a5d5deaa9d Mon Sep 17 00:00:00 2001 From: colin Date: Tue, 12 Dec 2023 16:48:21 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2776f2e..006ba39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,12 @@ FROM nginx:alpine # Set environment variables with default values -ENV BACKEND_HOST=localhost -ENV BACKEND_TCP_PORT=80 -ENV BACKEND_UDP_PORT=12345 +ENV BACKEND_HOST=git_git +ENV BACKEND_TCP_PORT=22 +ENV BACKEND_UDP_PORT=22 +# Set the default value of ALLOWED_IPS to cover typical Docker network ranges +# set this value to 0.0.0.0 in the Stack definition for allow all. +ENV ALLOWED_IPS="10.0.0.0/8 172.16.0.0/12 192.168.0.0/16" # Copy the script and configuration template into the container COPY entrypoint.sh /entrypoint.sh