automatically run migrations on docker container start by default

This commit is contained in:
Jenny Danzmayr 2023-11-12 16:21:46 +01:00
parent ddfa684c97
commit ebac0e5f77
2 changed files with 13 additions and 0 deletions

View file

@ -67,6 +67,7 @@ COPY --chown=root:root --chmod=0755 /docker/entrypoint.sh /usr/bin/entrypoint
ENV C3NAV_DEBUG="" \
C3NAV_LOGLEVEL="info" \
C3NAV_DATA_DIR="/data" \
C3NAV_AUTOMIGRATE="yes" \
MPLBACKEND="agg" \
UWSGI_WORKERS="8"