Files
baclight/bin/dbentrypoint.sh
T

11 lines
301 B
Bash
Raw Normal View History

2025-11-24 08:22:44 -05:00
#!/bin/bash
set -e
# Wait for SQL Server to be ready
# You can adjust the sleep time if needed
sleep 7
# Run init-script with long timeout - and make it run in the background
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P "Br1tt0nPassw0rd" -i init.sql &
# Start SQL Server
/opt/mssql/bin/sqlservr