Skip to content

Commit

Permalink
fix: redis port 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
SunYerim committed Jun 16, 2024
1 parent c080e31 commit d15573a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,10 @@ jobs:
docker rm sunjoo-server-redis
fi
if [ "$(docker ps -q -f publish=6379)" ]; then
docker stop $(docker ps -q -f publish=6379)
docker rm $(docker ps -q -f publish=6379)
fi
docker run -d -p 8080:8090 --name sunjoo-server-auth ${{ secrets.DOCKER_USERNAME }}/sunjoo:auth
docker run -d -p 6380:6379 --name sunjoo-server-redis ${{ secrets.DOCKER_USERNAME }}/sunjoo:redis
docker run -d -p 6379:6379 --name sunjoo-server-redis ${{ secrets.DOCKER_USERNAME }}/sunjoo:redis
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ services:
image: sunyerim/sunjoo:redis
restart: always
ports:
- "8080:6379"
- "6379:6379"
volumes:
- ${REDIS_DATA_PATH}:/data

0 comments on commit d15573a

Please sign in to comment.