Skip to content

Commit

Permalink
feat : AWS EC2 dev 환경 이전 (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaBaljaintheroom authored Oct 20, 2024
1 parent 75abe89 commit 554a2b5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/showpot-dev-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
with:
title: ✅ 개발 서버 배포 프로세스가 완료되었습니다! ✅
webhook: ${{ secrets.DISCORD_WEBHOOK_URL }}
content: "<@1084774841460215839> <@281597829636423682> 배포가 정상적으로 이뤄졌는지 확인해주세요!"
content: "<@1084774841460215839> 배포가 정상적으로 이뤄졌는지 확인해주세요!"
color: 00FF00
username: showPot-Bot
avatar_url: ${{ secrets.DISCORD_NOTIFICATION_SUCCESS_AVATAR_URL }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/showpot-dev-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
with:
title: ✅ Backend CI success ✅
webhook: ${{ secrets.DISCORD_WEBHOOK_URL }}
content: "<@1084774841460215839> <@281597829636423682> ShoPot 이슈 혹은 PR을 확인해주세요!"
content: "<@1084774841460215839> ShoPot 이슈 혹은 PR을 확인해주세요!"
color: 00FF00
username: showPot-Bot
avatar_url: ${{ secrets.DISCORD_NOTIFICATION_SUCCESS_AVATAR_URL }}
Expand Down
3 changes: 3 additions & 0 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ services:
environment:
SPRING_REDIS_HOST: redis
SPRING_REDIS_PORT: 6379
APPLICATION_DATASOURCE_URL_DEV: jdbc:postgresql://postgresql:5432/yapp
APPLICATION_DATASOURCE_USERNAME: yapp
APPLICATION_DATASOURCE_PASSWORD: yapp
ports:
- '8080:8080'
networks:
Expand Down
9 changes: 5 additions & 4 deletions docker-compose-local.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
postgresql:
container_name: yapp_postgresql
image: postgres:14
image: postgres:alpine
environment:
POSTGRES_DB: yapp
POSTGRES_USER: yapp
Expand All @@ -10,15 +10,16 @@ services:
- '5432:5432'
restart: always
networks:
- app-network
- yapp-network

redis:
container_name: yapp_redis
image: redis:alpine
ports:
- '6379:6379'
networks:
- app-network
- yapp-network

networks:
app-network:
yapp-network:
driver: bridge

0 comments on commit 554a2b5

Please sign in to comment.