- Clone this repository to your machine.
- Open terminal and navigate to Docker Database folder
- Add a file called '.env'
- Inside the .env file add a line following the below convention
- SA_PASSWORD=YourSuperSecretPassword
- Run
docker-compose up -d
. - If you get a pop up asking to share your folder then click "Share It".
- Amend connection strings to include
Data Source=localhost, 1433
,User Id=SA
,Password=YourSuperSecretPassword
.
When you've finished you can bring to container down if you wish with docker-compose down
. This will keep all data so when you bring the container back up your databases will still be there with all your data.
- Open terminal and navigate to Docker Database folder
- Run
docker-compose up -d
. - Ammend connection strings to include
Data Source=localhost, 1433
,User Id=SA
,Password=YourSuperSecretPassword
.