added version information to sentry and the about page

This commit is contained in:
Jenny Danzmayr 2023-12-11 18:31:11 +01:00
parent 97c9c7ecb7
commit 4fb1230163
7 changed files with 42 additions and 2 deletions

View file

@ -50,6 +50,7 @@ RUN --mount=type=cache,target=/pip-cache \
pip install --cache-dir /pip-cache uwsgi
FROM base as final
ARG COMMIT
RUN groupadd -r -g 500 c3nav && useradd -r -u 500 -g 500 -G www-data c3nav
RUN mkdir /data && chown -R c3nav:c3nav /data
VOLUME /data
@ -61,6 +62,7 @@ ENV C3NAV_DEBUG="" \
C3NAV_LOGLEVEL="INFO" \
C3NAV_DATA_DIR="/data" \
C3NAV_RELOAD_INTERVAL="60" \
C3NAV_VERSION="${COMMIT}"
UWSGI_WORKERS="4"
# The following environment variables need to be set to start the tileserver