Skip to content

Commit

Permalink
[Deploy] google credential 경로 수정 (#50)
Browse files Browse the repository at this point in the history
deploy: google credential 경로 수정 (#49)
  • Loading branch information
yongbin97 authored Oct 4, 2024
1 parent bac9432 commit 27ba867
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/someup_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ jobs:
port: 22
script: |
cd someup
export GOOGLE_APPLICATION_CREDENTIALS=~/.config/gcloud/application_default_credentials.json
sudo docker-compose down
sudo docker-compose pull
sudo docker-compose up -d
Expand Down
3 changes: 0 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ services:
- 8080:8080
environment:
- SPRING_PROFILES_ACTIVE=dev-env # 사용할 profile
- GOOGLE_APPLICATION_CREDENTIALS=/path/in/container/application_default_credentials.json
volumes:
- ~/.config/gcloud/application_default_credentials.json:/path/in/container/application_default_credentials.json
networks:
- my_network

Expand Down

0 comments on commit 27ba867

Please sign in to comment.