Skip to content

Commit

Permalink
feat : dokcer-compose 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sangminee committed Nov 1, 2023
1 parent ff8d2f2 commit 8e13d33
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,5 @@ jobs:
sudo docker rm -f $(sudo docker ps -qa)
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO }}
sudo docker run -d -p 8081:8081 ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_REPO }}:latest
sudo docker-compose up -d

8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ services:
- "--character-set-server=utf8mb4"
- "--collation-server=utf8mb4_unicode_ci"

application:
container_name: springboot-test
image: sangminee/studio_i_user_service
expose:
- 8081
ports:
- "8081:8081"

redis:
image: redis
container_name: token-redis
Expand Down

0 comments on commit 8e13d33

Please sign in to comment.