Skip to content

Instantly share code, notes, and snippets.

@asanchez75
Forked from mystygage/docker-compose.yml
Created October 17, 2017 04:11
Show Gist options
  • Save asanchez75/1182de9b449dd1eb6f76fa164f227ec3 to your computer and use it in GitHub Desktop.
Save asanchez75/1182de9b449dd1eb6f76fa164f227ec3 to your computer and use it in GitHub Desktop.
Microsoft SQL Server in Docker with data volume
version: '3'
services:
mssql-server-linux:
image: microsoft/mssql-server-linux:latest
volumes:
- mssql-server-linux-data:/var/opt/mssql/data
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=${SQLSERVER_SA_PASSWORD:-yourStrong(!)Password}
ports:
- "1433:1433"
volumes:
mssql-server-linux-data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment