Created
August 6, 2023 06:55
-
-
Save tranductam2802/321829cf00f2a369bf29d4759b996688 to your computer and use it in GitHub Desktop.
Sample of docker compose for SQL Server
This file contains hidden or 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
version: '3.3' | |
services: | |
mssql: | |
container_name: sql-server | |
image: mcr.microsoft.com/mssql/server:2022-latest | |
restart: always | |
environment: | |
ACCEPT_EULA: "Y" | |
SA_PASSWORD: "dothuthao1993" | |
ports: | |
- 1433:1433 | |
volumes: | |
- sql-server-volume:/var/opt/mssql | |
volumes: | |
sql-server-volume: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment