Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Adding SQL Server to Dev Container Setup
version: '3.7'
services:
cmdline-dev:
build:
context: .
working_dir: /app
volumes:
- "..:/app"
command: sleep infinity
database:
image: mcr.microsoft.com/mssql/server
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=PassWord42
ports:
- 7610:1433
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment