From 3f8ad2238f0c4cbc65aba5806e4a7470c1b066ff Mon Sep 17 00:00:00 2001 From: Carl Sargunar Date: Thu, 7 Nov 2024 22:09:11 +0000 Subject: [PATCH] trust certificate (for local dev only) --- templates/UmbracoDockerCompose/Database/startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/UmbracoDockerCompose/Database/startup.sh b/templates/UmbracoDockerCompose/Database/startup.sh index b8d78b3c46..ae3763b7d5 100644 --- a/templates/UmbracoDockerCompose/Database/startup.sh +++ b/templates/UmbracoDockerCompose/Database/startup.sh @@ -11,7 +11,7 @@ if [ "$1" = '/opt/mssql/bin/sqlservr' ]; then sleep 15s #run the setup script to create the DB and the schema in the DB - /opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P "$SA_PASSWORD" -d master -i setup.sql + /opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P "$SA_PASSWORD" -d master -i setup.sql -C # Note that the container has been initialized so future starts won't wipe changes to the data touch /tmp/app-initialized