mirror of https://github.com/docker/docs.git
- fixed typo on yml file.
- added quotes to ports identification as per good practices
This commit is contained in:
parent
a7282b10b4
commit
b1563e8c4e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue