Skip to content

Commit

Permalink
Merge branch 'refs/heads/feature/ISSUE-87' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
stopmin committed Jul 14, 2024
2 parents fada2ec + ea180b9 commit b38bb50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ jobs:
DB_NAME=${{ secrets.DB_NAME }}
DB_PORT=${{ secrets.DB_PORT }}
OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
GOOGLE_CSE_ID=${{ secrets.GOOGLE_CSE_ID }}
GOOGLE_API_KEY=${{ secrets.GOOGLE_API_KEY }}
USER_AGENT=${{ secrets.USER_AGENT }}
cache-from: type=gha
cache-to: type=gha,mode=min,ignore-error=true

Expand Down
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,19 @@ ARG DB_PASSWORD
ARG DB_NAME
ARG DB_PORT
ARG OPENAI_API_KEY
ARG GOOGLE_CSE_ID
ARG GOOGLE_API_KEY
ARG USER_AGENT

ENV DB_HOST=${DB_HOST}
ENV DB_USER=${DB_USER}
ENV DB_PASSWORD=${DB_PASSWORD}
ENV DB_NAME=${DB_NAME}
ENV DB_PORT=${DB_PORT}
ENV OPENAI_API_KEY=${OPENAI_API_KEY}
ENV GOOGLE_CSE_ID=${GOOGLE_CSE_ID}
ENV GOOGLE_API_KEY=${GOOGLE_API_KEY}
ENV USER_AGENT=${USER_AGENT}

RUN chmod +x ./entrypoint.sh

Expand Down

0 comments on commit b38bb50

Please sign in to comment.