-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
138 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ FROM mcr.microsoft.com/dotnet/runtime-deps:8.0.2-bookworm-slim-amd64 | |
RUN mkdir /app && chown -R app:app /app | ||
WORKDIR /app | ||
|
||
LABEL maintainer "Digitaal Vlaanderen <[email protected]>" | ||
LABEL maintainer="Digitaal Vlaanderen <[email protected]>" | ||
LABEL registry="postal-registry" | ||
|
||
COPY / /app | ||
|
@@ -16,6 +16,13 @@ RUN apt-get update && \ | |
|
||
EXPOSE 3000/tcp | ||
ENV ASPNETCORE_URLS http://*:3000 | ||
ENV CORECLR_ENABLE_PROFILING=1 | ||
ENV CORECLR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8} | ||
ENV CORECLR_PROFILER_PATH=/app/datadog/linux-x64/Datadog.Trace.ClrProfiler.Native.so | ||
ENV DD_DOTNET_TRACER_HOME=/app/datadog | ||
|
||
# Run the createLogPath script on Linux to ensure the automatic instrumentation logs are generated without permission issues | ||
RUN /app/datadog/createLogPath.sh | ||
|
||
# switch to created user | ||
USER app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
Be.Vlaanderen.Basisregisters.Api | ||
Be.Vlaanderen.Basisregisters.CommandHandling.Idempotency | ||
Be.Vlaanderen.Basisregisters.DataDog.Tracing.Autofac | ||
Be.Vlaanderen.Basisregisters.EventHandling.Autofac | ||
Be.Vlaanderen.Basisregisters.ProjectionHandling.SqlStreamStore.Autofac | ||
|
||
AspNetCore.HealthChecks.SqlServer | ||
|
||
Datadog.Trace | ||
Datadog.Trace.Bundle | ||
|
||
SourceLink.Embed.AllSourceFiles | ||
SourceLink.Copy.PdbFiles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ FROM mcr.microsoft.com/dotnet/runtime-deps:8.0.2-bookworm-slim-amd64 | |
RUN mkdir /app && chown -R app:app /app | ||
WORKDIR /app | ||
|
||
LABEL maintainer "Digitaal Vlaanderen <[email protected]>" | ||
LABEL maintainer="Digitaal Vlaanderen <[email protected]>" | ||
LABEL registry="postal-registry" | ||
|
||
COPY / /app | ||
|
@@ -16,6 +16,13 @@ RUN apt-get update && \ | |
|
||
EXPOSE 3004/tcp | ||
ENV ASPNETCORE_URLS http://*:3004 | ||
ENV CORECLR_ENABLE_PROFILING=1 | ||
ENV CORECLR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8} | ||
ENV CORECLR_PROFILER_PATH=/app/datadog/linux-x64/Datadog.Trace.ClrProfiler.Native.so | ||
ENV DD_DOTNET_TRACER_HOME=/app/datadog | ||
|
||
# Run the createLogPath script on Linux to ensure the automatic instrumentation logs are generated without permission issues | ||
RUN /app/datadog/createLogPath.sh | ||
|
||
# switch to created user | ||
USER app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ FROM mcr.microsoft.com/dotnet/runtime-deps:8.0.2-bookworm-slim-amd64 | |
RUN mkdir /app && chown -R app:app /app | ||
WORKDIR /app | ||
|
||
LABEL maintainer "Digitaal Vlaanderen <[email protected]>" | ||
LABEL maintainer="Digitaal Vlaanderen <[email protected]>" | ||
LABEL registry="postal-registry" | ||
|
||
COPY / /app | ||
|
@@ -16,6 +16,13 @@ RUN apt-get update && \ | |
|
||
EXPOSE 3002/tcp | ||
ENV ASPNETCORE_URLS http://*:3002 | ||
ENV CORECLR_ENABLE_PROFILING=1 | ||
ENV CORECLR_PROFILER={846F5F1C-F9AE-4B07-969E-05C26BC060D8} | ||
ENV CORECLR_PROFILER_PATH=/app/datadog/linux-x64/Datadog.Trace.ClrProfiler.Native.so | ||
ENV DD_DOTNET_TRACER_HOME=/app/datadog | ||
|
||
# Run the createLogPath script on Linux to ensure the automatic instrumentation logs are generated without permission issues | ||
RUN /app/datadog/createLogPath.sh | ||
|
||
# switch to created user | ||
USER app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.