$ docker-compose up -d --build web sqlsrv
$ docker-compose exec sqlsrv /opt/mssql-tools/bin/sqlcmd -H localhost -U SA -Q "create database laraveldb"
Enter the password that was set database.
$ docker-compose exec web php artisan migrate
Build and Run schemaspy container for executing Schemaspy
$ docker-compose run --rm schemaspy
Open schemaspy/output/index.html
in Web Broeser view.
Create or Update XML file showing relationship.
$ docker-compose exec web php artisan schemaspy-meta:generate App\\Models --excludeClass=Flight --xmlFile=schemaspy/schema-meta.xml
Run schemaspy container again after generating xml.