enable sentry logging

This commit is contained in:
2025-03-29 17:38:52 +01:00
parent 5fd7d49602
commit 0fa3e6ac7c
5 changed files with 1208 additions and 25 deletions

View File

@@ -63,6 +63,10 @@ ENV GEOIP_ASN_DB=./data/GeoLite2-ASN.mmdb
ARG GIT_COMMIT_SHA=unknown
ENV GIT_COMMIT_SHA=${GIT_COMMIT_SHA}
# Define build argument and environment variable for Sentry DSN
ARG SENTRY_DSN
ENV SENTRY_DSN=${SENTRY_DSN}
# Run the app when the container launches
CMD ["node", "server.js"]