Skip to content

Commit

Permalink
Merge pull request #967 from dataplat/containers
Browse files Browse the repository at this point in the history
Merge containers into main [skip ci]
  • Loading branch information
SQLDBAWithABeard authored May 5, 2023
2 parents ba433ef + bbafa06 commit b0b11fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:
dbachecks1:
image: dbachecks/sqlinstance1:v2.34.0
image: dbachecks/sqlinstance1:v2.35.0
volumes:
- mydata:/var/opt/backups
- shared:/shared
Expand All @@ -13,7 +13,7 @@ services:
hostname: dbachecks1

dbachecks2:
image: dbachecks/sqlinstance2:v2.34.0
image: dbachecks/sqlinstance2:v2.35.0
volumes:
- mydata:/var/opt/backups
- shared:/shared
Expand All @@ -27,7 +27,7 @@ services:

# This is our SQL2022 container
dbachecks3:
image: dbachecks/sqlinstance3:v2.34.0
image: dbachecks/sqlinstance3:v2.35.0
volumes:
- mydata:/var/opt/backups
- shared:/shared
Expand Down
4 changes: 4 additions & 0 deletions containers/base/profile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
[CmdletBinding()]
param()

# Set these defaults for all future sessions on this machine
Set-DbatoolsConfig -FullName sql.connection.trustcert -Value $true -Register
Set-DbatoolsConfig -FullName sql.connection.encrypt -Value $false -Register

if (Test-Path /workspace/containers -ErrorAction SilentlyContinue) {
Import-Module /workspace/containers/JessAndBeard.psm1
} else {
Expand Down

0 comments on commit b0b11fe

Please sign in to comment.