Skip to content

Commit

Permalink
chore: 환경변수 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
qormoon committed Jun 25, 2024
1 parent 374aaa8 commit 7b1f6ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ jobs:
echo "AWS_ACCESSKEY=${{ secrets.AWS_ACCESSKEY }}" >> ~/deploy/.env
echo "AWS_SECRETKEY=${{ secrets.AWS_SECRETKEY }}" >> ~/deploy/.env
echo "AWS_BUCKET=${{ secrets.AWS_BUCKET }}" >> ~/deploy/.env
echo "KAKAO_CLIENT_ID=${{ secrets.KAKAO_CLIENT_ID }}" >> ~/deploy/.env
echo "KAKAO_CLIENT_SECRET=${{ secrets.KAKAO_CLIENT_SECRET }}" >> ~/deploy/.env
echo "JWT_SECRET_KEY=${{ secrets.JWT_SECRET_KEY }}" >> ~/deploy/.env
sudo docker-compose -f ~/deploy/docker-compose.yml pull
sudo docker-compose -f ~/deploy/docker-compose.yml up -d
sudo docker image prune -f
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ services:
AWS_ACCESSKEY: ${AWS_ACCESSKEY}
AWS_SECRETKEY: ${AWS_SECRETKEY}
AWS_BUCKET: ${AWS_BUCKET}
KAKAO_CLIENT_ID: ${KAKAO_CLIENT_ID}
KAKAO_CLIENT_SECRET: ${KAKAO_CLIENT_SECRET}
JWT_SECRET_KEY: ${JWT_SECRET_KEY}
hibernate_ddl_auto: update
REDIS_HOST: redis
depends_on:
Expand Down

0 comments on commit 7b1f6ce

Please sign in to comment.