Skip to content

Commit

Permalink
refactor: renaming containers
Browse files Browse the repository at this point in the history
  • Loading branch information
pminsung12 committed Jul 6, 2024
1 parent 54b3cc7 commit a6ae20e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

services:
mysql:
container_name: SPOT-db
container_name: spot-mysql
image: mysql:8 # 선호하는 버전 있을 경우 선정 예정!
ports:
- 3306:3306 # 혹시나 기존에 MySQL 사용 중일 경우 앞자리를 다른 포트로 바꿔야함.
Expand All @@ -24,7 +24,7 @@ services:

server:
build: . # 디렉토리에 있는 도커파일 이용해서 이미지 빌드
container_name: spot-server-docker
container_name: spot-spring-server
ports:
- 8080:8080
depends_on: # 항상 mysql 실행하고 서버 실행되게 함.
Expand Down

0 comments on commit a6ae20e

Please sign in to comment.