🐳 🐛 Provide env variables for media and static download

This commit is contained in:
mathieu.brunot 2019-02-19 21:44:22 +01:00
parent 6394905022
commit f8ef533f6a
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0
4 changed files with 17 additions and 1 deletions

View file

@ -21,6 +21,8 @@ COPY --from=0 /home/uxbox/backend/dist/uxbox-backend.jar /srv/uxbox/app.jar
COPY --from=0 /home/uxbox/backend/docker-entrypoint.sh /entrypoint.sh
ENV UXBOX_HTTP_SERVER_DEBUG=false \
UXBOX_MEDIA_BASEURI="http://localhost:6060/media/" \
UXBOX_STATIC_BASEURI="http://localhost:6060/static/" \
UXBOX_DATABASE_USERNAME="uxbox" \
UXBOX_DATABASE_PASSWORD="youshouldoverwritethiswithsomethingelse" \
UXBOX_DATABASE_NAME="uxbox" \