Skip to content

Commit

Permalink
Add missing env variables to Dockerfile
Browse files Browse the repository at this point in the history
- add env variables needed to run the application
  • Loading branch information
gek20 authored and hjhsalo committed Aug 1, 2024
1 parent 7f5923c commit 72a5948
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dockerize/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,17 @@ RUN rm -rf /eudat/b2share/webui
# Compiling everything
#
FROM python:3.6-slim

# Variables needed in order to run b2share
ENV LANG=en_US.UTF-8
ENV B2SHARE_UI_PATH="/eudat/b2share/webui/app"
ENV B2SHARE_BROKER_URL="redis://redis:6379/0"
ENV B2SHARE_ACCOUNTS_SESSION_REDIS_URL="redis://redis:6379/0"
ENV B2SHARE_CELERY_RESULT_BACKEND="redis://redis:6379/1"
ENV B2SHARE_SEARCH_ELASTIC_HOSTS="elasticsearch:9200"
ENV B2SHARE_WEBUI_MATOMO_URL=''
ENV B2SHARE_WEBUI_MATOMO_SITEID=''

COPY --from=builder /eudat /eudat
COPY --from=builder /etc/supervisord.conf /etc/

Expand Down

0 comments on commit 72a5948

Please sign in to comment.