Skip to content

Commit

Permalink
updated image info
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob authored and Rob committed Dec 21, 2019
1 parent c9aefcc commit b8c7b14
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 7 deletions.
Expand Up @@ -77,7 +77,13 @@
"source": [
"## Containers\r\n",
"\r\n",
"We are going to create two SQL2019 containers using the sqldbawithabeard\\dbachecks image from the Docker Hub. Please copy the docker-compose.yml file into the directory that was created above."
"We are going to create two SQL2019 containers using the sqldbawithabeard\\dbachecks image from the Docker Hub. Please copy the docker-compose.yml file into the directory that was created above.\r\n",
"\r\n",
"The first time it is going to pull the image sqldbawithabeard/dbachecksdemo from the Docker Hub. you can run \r\n",
"\r\n",
"`docker pull sqldbawithabeard/dbachecksdemo`\r\n",
"\r\n",
"to do this first if you wish."
],
"metadata": {
"azdata_cell_guid": "47c883a8-f396-492c-8ed1-05acc981aeae"
Expand Down
65 changes: 62 additions & 3 deletions Notebooks/dbachecks/03-dbachecks - Simple configurations.ipynb

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion Notebooks/dbachecks/creating the container.ps1
Expand Up @@ -196,8 +196,11 @@ Invoke-DbcCheck -SqlInstance 'localhost,15599' -SqlCredential $cred -Check Faile
$query = "EXEC msdb.dbo.sp_add_operator @name=N'SQLAdmins', @enabled=1, @email_address=N'SQLAdmins@TheBeard.local'"
Invoke-DbaQuery -Query $query

$alertsSql = 'D:\OneDrive\Documents\GitHub\Older\tigertoolbox\MaintenanceSolution\6_Agent_Alerts.sql'
$TigerTeamalertsSql = 'D:\OneDrive\Documents\GitHub\Older\tigertoolbox\MaintenanceSolution\6_Agent_Alerts.sql'

Invoke-DbaQuery -File $TigerTeamalertsSql

$AlertsSql = 'D:\OneDrive\Documents\GitHub\Older\SQLScripts\SQL\03 - Set up SQL Alerting for SQL Errors 016 to 025.sql'
Invoke-DbaQuery -File $alertsSql

Get-DbaAgentAlert
4 changes: 2 additions & 2 deletions Notebooks/dbachecks/docker-compose.yml
Expand Up @@ -2,13 +2,13 @@ version: '3.7'

services:
SQL2019:
image: beard2019image
image: sqldbawithabeard/dbachecksdemo
ports:
- "15592:1433"
networks:
- BeardsMagicNetwork
SQL2019-1:
image: beard2019image
image: sqldbawithabeard/dbachecksdemo
ports:
- "15593:1433"
networks:
Expand Down

0 comments on commit b8c7b14

Please sign in to comment.