add mssql

This commit is contained in:
2021-08-18 01:46:32 -05:00
parent 372c1ad35d
commit 1d808a59b2
5 changed files with 58 additions and 0 deletions

7
db/mssql/run-initialization.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
# Wait to be sure that SQL Server came up
sleep 20s
# Run the setup script to create the DB and the schema in the DB
# Note: make sure that your password matches what is in the Dockerfile
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P ${SA_PASSWORD} -d master -i /docker-entrypoint-initdb.d/init.sql