diff options
author | Kristóf Marussy <kristof@marussy.com> | 2023-09-04 18:08:59 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2023-09-04 20:33:55 +0200 |
commit | 0e7c55f7ab8d496e81a3dbd53f14e0c46cb27fa6 (patch) | |
tree | 3df27544768e96ec8508452d07b9c20c30f374b0 /docker/Dockerfile | |
parent | refactor(frontend): graph visualizer performance (diff) | |
download | refinery-0e7c55f7ab8d496e81a3dbd53f14e0c46cb27fa6.tar.gz refinery-0e7c55f7ab8d496e81a3dbd53f14e0c46cb27fa6.tar.zst refinery-0e7c55f7ab8d496e81a3dbd53f14e0c46cb27fa6.zip |
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.
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
39 | # Layer with platform-independent application jars. | 39 | # Layer with platform-independent application jars. |
40 | ADD --link app_lib /app/lib | 40 | ADD --link app_lib /app/lib |
41 | # Common settings added on top. | 41 | # Common settings added on top. |
42 | ENV LISTEN_ADDRESS=0.0.0.0 LISTEN_PORT=8888 PUBLIC_HOST=localhost PUBLIC_PORT=8888 | 42 | ENV REFINERY_LISTEN_HOST=0.0.0.0 REFINERY_LISTEN_PORT=8888 |
43 | EXPOSE 8888 | 43 | EXPOSE 8888 |
44 | USER 1000 | 44 | USER 1000 |
45 | WORKDIR /app | 45 | WORKDIR /app |