Last active
September 15, 2020 16:09
-
-
Save pjoe/312947ec248782676c17fab3bfdb2060 to your computer and use it in GitHub Desktop.
mssql docker
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
version: "3" | |
services: | |
db: | |
image: mcr.microsoft.com/mssql/server:2019-CU5-ubuntu-16.04 | |
restart: always | |
ports: | |
- "1433:1433" | |
environment: | |
- "ACCEPT_EULA=Y" | |
- "SA_PASSWORD=Demo#1234" | |
- "MSSQL_COLLATION=Danish_Norwegian_CI_AS" | |
- "MSSQL_AGENT_ENABLED=True" | |
volumes: | |
- "db-data:/var/opt/mssql" | |
- "./backups:/backups" | |
volumes: | |
db-data: | |
# tips on in-memory db: https://github.com/microsoft/mssql-docker/issues/110#issuecomment-310969848 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment