From aa7dda3dca62e27f691933793ea4bb09507cbc77 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Fri, 19 Jul 2024 04:20:25 +0000 Subject: [PATCH] Define webapp specific env vars in generic datastream app deploy script For now, this makes things easier, as I don't need to write a special script just for the webapp --- tools/deploy_data_stream_app.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/deploy_data_stream_app.sh b/tools/deploy_data_stream_app.sh index 0f074ab22..d7fc2149b 100755 --- a/tools/deploy_data_stream_app.sh +++ b/tools/deploy_data_stream_app.sh @@ -176,6 +176,10 @@ if [ $status -ne 0 ]; then fi cat <> "$release_dir/Dockerfile" +ENV ASPNETCORE_HTTP_PORT=8080 +ENV ASPNETCORE_HTTPS_PORT=8443 +ENV ASPNETCORE_ENVIRONMENT=Production +ENV ASPNETCORE_HOSTINGSTARTUPASSEMBLIES=Microsoft.AspNetCore.SpaProxy COPY "bin" "$app_name/bin" WORKDIR /home/bts/$app_name/bin ENTRYPOINT [ "./$app_name" ]