Skip to content

Instantly share code, notes, and snippets.

@ademkocamaz
Created December 13, 2023 12:17
Show Gist options
  • Save ademkocamaz/6f608942daf13f7c2681dd2a1e325d38 to your computer and use it in GitHub Desktop.
Save ademkocamaz/6f608942daf13f7c2681dd2a1e325d38 to your computer and use it in GitHub Desktop.
MSSQL 2022 Docker Compose With Volumes
services:
mssql2022:
image: mcr.microsoft.com/mssql/server:2022-latest
environment:
ACCEPT_EULA: Y
MSSQL_SA_PASSWORD: <YourStrong@Passw0rd>
MSSQL_COLLATION: Turkish_CI_AS
ports:
- 1433:1433
volumes:
- ./data:/var/opt/mssql/data
- ./log:/var/opt/mssql/log
- ./secrets:/var/opt/mssql/secrets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment