Skip to content

Commit

Permalink
add DB env var
Browse files Browse the repository at this point in the history
  • Loading branch information
Taehoya committed Feb 4, 2024
1 parent 6280867 commit f72f0cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ jobs:
DB_USER=${{ secrets.DB_USER }}
DB_PASSWORD=${{ secrets.DB_PASSWORD }}
DB_PORT=${{ secrets.DB_PORT }}
DB_ADDR=${{ secrets.DB_ADDR }}
6 changes: 4 additions & 2 deletions server/docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ ARG APP_URL \
DB_NAME \
DB_USER \
DB_PASSWORD \
DB_PORT
DB_PORT \
DB_ADDR

ENV APP_URL=${APP_URL} \
PORT=${PORT} \
Expand All @@ -18,7 +19,8 @@ ENV APP_URL=${APP_URL} \
DB_NAME=${DB_NAME} \
DB_USER=${DB_USER} \
DB_PASSWORD=${DB_PASSWORD} \
DB_PORT=${DB_PORT}
DB_PORT=${DB_PORT} \
DB_ADDR=${DB_ADDR}

WORKDIR /app

Expand Down

0 comments on commit f72f0cd

Please sign in to comment.