mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
docker-compose.yml fix
This commit is contained in:
parent
53ec5e4ac4
commit
633ef990f6
1 changed files with 8 additions and 6 deletions
|
@ -1,10 +1,4 @@
|
|||
services:
|
||||
app:
|
||||
image: petclinic-run
|
||||
links:
|
||||
- mysql:mysql
|
||||
ports:
|
||||
- "3000:8080"
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
ports:
|
||||
|
@ -17,3 +11,11 @@ services:
|
|||
- MYSQL_DATABASE=petclinic
|
||||
volumes:
|
||||
- "./conf.d:/etc/mysql/conf.d:ro"
|
||||
app:
|
||||
image: petclinic-run
|
||||
depend_on:
|
||||
- mysql
|
||||
links:
|
||||
- mysql:mysql
|
||||
ports:
|
||||
- "3000:8080"
|
||||
|
|
Loading…
Reference in a new issue