Skip to content

Commit

Permalink
add backoffice session env vars to backoffice and api docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Dec 4, 2024
1 parent b3d10bd commit 98a78b2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ ARG AWS_SES_ACCESS_KEY_ID
ARG AWS_SES_ACCESS_KEY_SECRET
ARG AWS_SES_DOMAIN
ARG AWS_REGION
ARG BACKOFFICE_SESSION_COOKIE_NAME
ARG BACKOFFICE_SESSION_COOKIE_SECRET

ENV DB_HOST $DB_HOST
ENV DB_PORT $DB_PORT
Expand All @@ -35,6 +37,8 @@ ENV AWS_SES_ACCESS_KEY_ID $AWS_SES_ACCESS_KEY_ID
ENV AWS_SES_ACCESS_KEY_SECRET $AWS_SES_ACCESS_KEY_SECRET
ENV AWS_SES_DOMAIN $AWS_SES_DOMAIN
ENV AWS_REGION $AWS_REGION
ENV BACKOFFICE_SESSION_COOKIE_NAME $BACKOFFICE_SESSION_COOKIE_NAME
ENV BACKOFFICE_SESSION_COOKIE_SECRET $BACKOFFICE_SESSION_COOKIE_SECRET


WORKDIR /app
Expand Down
5 changes: 5 additions & 0 deletions backoffice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ ARG DB_NAME
ARG DB_USERNAME
ARG DB_PASSWORD
ARG API_URL
ARG BACKOFFICE_SESSION_COOKIE_NAME
ARG BACKOFFICE_SESSION_COOKIE_SECRET

ENV DB_HOST $DB_HOST
ENV DB_PORT $DB_PORT
ENV DB_NAME $DB_NAME
ENV DB_USERNAME $DB_USERNAME
ENV DB_PASSWORD $DB_PASSWORD
ENV API_URL $API_URL
ENV BACKOFFICE_SESSION_COOKIE_NAME $BACKOFFICE_SESSION_COOKIE_NAME
ENV BACKOFFICE_SESSION_COOKIE_SECRET $BACKOFFICE_SESSION_COOKIE_SECRET


WORKDIR /app

Expand Down

0 comments on commit 98a78b2

Please sign in to comment.