Skip to content

Commit

Permalink
deploy: credential 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yongbin97 committed Oct 4, 2024
1 parent 69ad963 commit f9ae7ab
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@ services:
ports:
- 8080:8080
environment:
SPRING_PROFILES_ACTIVE : dev-env # 사용할 profile
- SPRING_PROFILES_ACTIVE=dev-env # 사용할 profile
- GOOGLE_APPLICATION_CREDENTIALS=/credentials/application_default_credentials.json
volumes:
- /home/ubuntu/.config/gcloud/application_default_credentials.json:/credentials/application_default_credentials.json
networks:
- my_network


redis:
image: redis
container_name: redis-cache
command: ["redis-server", "--port", "6379"] # 비밀번호 설정 제거
command: [ "redis-server", "--port", "6379" ] # 비밀번호 설정 제거
ports:
- 6379:6379
networks:
Expand Down

0 comments on commit f9ae7ab

Please sign in to comment.