← All components
SQL Server Database
Microsoft SQL Server database integration via Docker. Includes Docker Compose configuration and connection utilities. Use with Prisma or other ORMs that support SQL Server.
Copy the files below, or open this folder on GitHub. Each file is stamped with a limited-use licence, generator and date. SHA-256 is of the published catalog bytes, before the stamp.
- id
- sqlserver
- stack
- Next.js
- version
- 1.0.0
- compatibility
- nextjs >=16 <17 · react >=19 <20
- requires
- nextjs-base
- env vars
- DATABASE_URL, SA_PASSWORD, SQLSERVER_USER, SQLSERVER_PASSWORD, SQLSERVER_DATABASE
Verified passing · daily buildIntegrity sha256:dfb6eb2bcf9da393…
Files (2)
docker-compose.yml · sha256:dfb6eb2bcf9da393…
// Licensed by BotKelp — https://www.botkelp.com
/**
* SQL Server Docker Compose Configuration
*
* This configuration sets up a Microsoft SQL Server 2022 container for development.
*
* Source: https://hub.docker.com/_/microsoft-mssql-server
* Verified: 2026-09-06
*/
version: '3.8'
services:
sqlserver:
image: mcr.microsoft.com/mssql/server:2022-latest
container_name: sqlserver
restart: unless-stopped
environment:
ACCEPT_EULA: "Y"
MSSQL_SA_PASSWORD: ${SA_PASSWORD:-YourStrong@Passw0rd}
MSSQL_PID: "Developer"
ports:
- "1433:1433"
volumes:
- sqlserver_data:/var/opt/mssql
healthcheck:
test: ["CMD", "/opt/mssql-tools18/bin/sqlcmd", "-S", "localhost", "-U", "sa", "-P", "${SA_PASSWORD:-YourStrong@Passw0rd}", "-Q", "SELECT 1"]
interval: 10s
timeout: 5s
retries: 5
volumes:
sqlserver_data:
driver: local