Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Paula2001/9cc575d46833f24a53c22b80135e2b54 to your computer and use it in GitHub Desktop.
Save Paula2001/9cc575d46833f24a53c22b80135e2b54 to your computer and use it in GitHub Desktop.
version: '3.4'
services:
sql.data:
image: mcr.microsoft.com/mssql/server:2017-latest
container_name: dev_sql
environment:
- SA_PASSWORD=yourStrong(!)Password
- ACCEPT_EULA=Y
healthcheck:
test: ["CMD", "/opt/mssql-tools/bin/sqlcmd", "-Usa", "-PyourStrong(!)Password", "-Q", "select 1"]
interval: 1s
retries: 20
volumes:
- ./sql-scripts:/scripts
ports:
- "1435:1433"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment