Skip to content

Commit

Permalink
Merge pull request #120 from catchroom/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
sungjiwoon authored Feb 7, 2024
2 parents 86f4b61 + 0882e36 commit 391a52d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:
mkdir -p src/main/resources
echo "${{ secrets.APPLICATION_YML }}" > src/main/resources/application.yml
cat ./src/main/resources/application.yml
echo "${{ secrets.DOCKER_COMPOSE }}" > ./docker-compose.yml
cat ./docker-compose.yml
- name: Run chmod to make gradlew executable
run: chmod +x ./gradlew
Expand Down
18 changes: 18 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: '3.8'

services:
prod1:
image: sungjiwoon/catchroom_chat:latest
container_name: prod1
ports:
- "8081:8081"
environment:
- PROFILES=prod1 # app1์˜ ํ”„๋กœํŒŒ์ผ์„ ์ง€์ •

prod2:
image: sungjiwoon/catchroom_chat:latest
container_name: prod2
ports:
- "8082:8082"
environment:
- PROFILES=prod2

0 comments on commit 391a52d

Please sign in to comment.