This repository was archived by the owner on Jul 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +5
-39
lines changed
Expand file tree Collapse file tree 5 files changed +5
-39
lines changed Original file line number Diff line number Diff line change @@ -49,17 +49,6 @@ services:
4949 networks :
5050 - backend
5151
52- azurite-setup :
53- container_name : azurite-setup
54- build :
55- context : ./
56- dockerfile : ./setup/azurite/Dockerfile
57- network_mode : host
58- depends_on :
59- - azurite
60- environment :
61- - AZURITE_CONNECTION_STRING=${AZURITE_CONNECTION_STRING}
62-
6352 db :
6453 container_name : " db"
6554 image : mcr.microsoft.com/mssql/server:2022-latest
@@ -70,6 +59,7 @@ services:
7059 MSSQL_PID : " Developer"
7160 ports :
7261 - " 1433:1433"
62+ user : " root"
7363 volumes :
7464 - db-data:/var/opt/mssql
7565 healthcheck :
Original file line number Diff line number Diff line change 11FROM mcr.microsoft.com/mssql-tools
22
33WORKDIR /database
4- COPY . /database
4+ COPY db-setup-entrypoint.sh /database/
55RUN chmod +x /database/db-setup-entrypoint.sh
6+ # USER mssql
67ENTRYPOINT ["/database/db-setup-entrypoint.sh" ]
Original file line number Diff line number Diff line change 44IF NOT EXISTS (
55 SELECT name
66 FROM sys .databases
7- WHERE name = N ' Test '
7+ WHERE name = N ' ServiceLayer '
88 )
99 CREATE DATABASE [Test];
1010GO
1111
1212IF SERVERPROPERTY (' ProductVersion' ) > ' 12'
13- ALTER DATABASE [Test ] SET QUERY_STORE = ON ;
13+ ALTER DATABASE [ServiceLayer ] SET QUERY_STORE = ON ;
1414GO
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments