From 0e7c55f7ab8d496e81a3dbd53f14e0c46cb27fa6 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Mon, 4 Sep 2023 18:08:59 +0200 Subject: refactor: server environemntal variables * Prefix each variable with REFINERY_ * If not public host is specified, allow all origings and compute the WebSocket address on the client from the origin. --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker/Dockerfile') diff --git a/docker/Dockerfile b/docker/Dockerfile index ac164cb7..1485e95b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -39,7 +39,7 @@ FROM refinery-$TARGETARCH # Layer with platform-independent application jars. ADD --link app_lib /app/lib # Common settings added on top. -ENV LISTEN_ADDRESS=0.0.0.0 LISTEN_PORT=8888 PUBLIC_HOST=localhost PUBLIC_PORT=8888 +ENV REFINERY_LISTEN_HOST=0.0.0.0 REFINERY_LISTEN_PORT=8888 EXPOSE 8888 USER 1000 WORKDIR /app -- cgit v1.2.3-70-g09d2