From 460c7b0c23e3368ca0c7d12e6173bdef4621cf41 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Sat, 21 Jan 2023 16:50:20 +0200 Subject: [PATCH] dockerfile update --- src/Correo/Dockerfile | 5 +++++ src/Correo/appsettings.json | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/Correo/Dockerfile b/src/Correo/Dockerfile index 56fc782..0780bee 100644 --- a/src/Correo/Dockerfile +++ b/src/Correo/Dockerfile @@ -30,4 +30,9 @@ FROM base AS final WORKDIR /app COPY --from=publish /app/publish . +ENV AUTHOR="Tudor Stanciu" +ENV Urls="http://*:80" +ARG APP_VERSION=0.0.0.0 +ENV APP_VERSION=${APP_VERSION} + ENTRYPOINT ["dotnet", "Correo.dll"] \ No newline at end of file diff --git a/src/Correo/appsettings.json b/src/Correo/appsettings.json index 9e08ba4..6fe8085 100644 --- a/src/Correo/appsettings.json +++ b/src/Correo/appsettings.json @@ -18,11 +18,11 @@ "TopicPrefix": "HomeLab.", "Source": "Correo", "Nats": { - "natsUrl": "nats://:4222", - "cluster": "", - "clientId": "Correo", - "qGroup": "Correo", - "durableName": "durable" + "NatsUrl": "nats://:4222", + "Cluster": "", + "ClientId": "Correo", + "QGroup": "Correo", + "DurableName": "durable" } }, "DefaultSender": {