- fixed typo on yml file.

- added quotes to ports identification as per good practices
This commit is contained in:
Daniel Junior 2022-12-09 06:59:24 +00:00
parent a7282b10b4
commit b1563e8c4e
1 changed files with 16 additions and 16 deletions

View File

@ -133,8 +133,8 @@ services:
context: . context: .
target: development target: development
ports: ports:
- 8000:8000 - "8000:8000"
- 8080:8080 - "8080:8080"
environment: environment:
- SERVER_PORT=8080 - SERVER_PORT=8080
- MYSQL_URL=jdbc:mysql://mysqlserver/petclinic - MYSQL_URL=jdbc:mysql://mysqlserver/petclinic
@ -146,7 +146,7 @@ services:
mysqlserver: mysqlserver:
image: mysql:8.0 image: mysql:8.0
ports: ports:
- 3306:3306 - "3306:3306"
environment: environment:
- MYSQL_ROOT_PASSWORD= - MYSQL_ROOT_PASSWORD=
- MYSQL_ALLOW_EMPTY_PASSWORD=true - MYSQL_ALLOW_EMPTY_PASSWORD=true