Created
December 13, 2023 12:17
-
-
Save ademkocamaz/6f608942daf13f7c2681dd2a1e325d38 to your computer and use it in GitHub Desktop.
MSSQL 2022 Docker Compose With Volumes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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