Skip to content

Commit b31117e

Browse files
committed
fix sql server container
1 parent 4209165 commit b31117e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql-server/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222
ports:
2323
- 1433:1433
2424
healthcheck:
25-
test: ["CMD-SHELL", "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P YourStrongPassword! -Q 'SELECT 1' || exit 1"]
25+
test: ["CMD-SHELL", "/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P ${SA_PASSWORD} -Q 'SELECT 1' -C"]
2626
interval: 10s
2727
timeout: 5s
2828
retries: 5

0 commit comments

Comments
 (0)