Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/needdelete.md

This file was deleted.

14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/백엔드-이슈.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: 백엔드 이슈
about: 백엔드와 관련된 이슈
title: "[백엔드] "
labels: Backend
assignees: ''

---

# 이슈 내용


# 작업 목록
- [ ]
4 changes: 2 additions & 2 deletions .github/workflows/deploy-admin-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Copy docker-compose.yml to EC2
- name: Copy docker-compose.admin.yml to EC2
uses: appleboy/scp-action@master
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USER }}
key: ${{ secrets.EC2_SSH_KEY }}
port: ${{ secrets.EC2_PORT }}
source: "docker-compose.yml"
source: "docker-compose.admin.yml"
target: ${{ env.EC2_DEPLOY_PATH }}

- name: Copy deploy-admin-docker.sh to EC2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Dev Admin CI/CD
on:
push:
branches:
- develop
- legacy
paths:
- 'nowait-app-admin-api/**'
- 'nowait-common/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-user-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Copy docker-compose.yml to EC2
- name: Copy docker-compose.user.yml to EC2
uses: appleboy/scp-action@master
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USER }}
key: ${{ secrets.EC2_SSH_KEY }}
port: ${{ secrets.EC2_PORT }}
source: "docker-compose.yml"
source: "docker-compose.user.yml"
target: ${{ env.EC2_DEPLOY_PATH }}

- name: Copy deploy-user-docker to EC2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Dev User CI/CD
on:
push:
branches:
- develop
- legacy
paths:
- 'nowait-app-user-api/**'
- 'nowait-common/**'
Expand Down
44 changes: 0 additions & 44 deletions docker-compose.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ public static void main(String[] args) {
org.springframework.boot.SpringApplication.run(ApiAdminApplication.class, args);
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ public static void main(String[] args) {
SpringApplication.run(ApiUserApplication.class, args);
}
}

4 changes: 2 additions & 2 deletions scripts/deploy-admin-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ else
fi

echo "3. start container"
sudo docker-compose -p nowait_dev pull nowait-app-admin-api
sudo docker-compose -p nowait_dev up -d nowait-app-admin-api
sudo docker-compose -f docker-compose.admin.yml -p nowait_dev pull nowait-app-admin-api
sudo docker-compose -f docker-compose.admin.yml -p nowait_dev up -d nowait-app-admin-api

echo "4. check container status"
NEW_CONTAINER_ID=$(docker ps -q --filter "name=nowait-app-admin-api")
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy-user-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ else
fi

echo "3. start container"
sudo docker-compose -p nowait_dev pull nowait-app-user-api
sudo docker-compose -p nowait_dev up -d nowait-app-user-api
sudo docker-compose -f docker-compose.user.yml -p nowait_dev pull nowait-app-user-api
sudo docker-compose -f docker-compose.user.yml -p nowait_dev up -d nowait-app-user-api

echo "4. check container status"
NEW_CONTAINER_ID=$(docker ps -q --filter "name=nowait-app-user-api")
Expand Down