Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
040d4bd
commit b60b6f2
Showing
3 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "tediousjs/tedious", | ||
"dockerComposeFile": "docker-compose.yml", | ||
"service": "app", | ||
"workspaceFolder": "/workspace", | ||
|
||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash" | ||
}, | ||
|
||
"extensions": [ | ||
"ms-mssql.mssql", | ||
"dbaeumer.vscode-eslint" | ||
], | ||
|
||
"postCreateCommand": "npm install", | ||
|
||
"containerEnv": { | ||
"EDITOR": "code --wait" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: '3' | ||
|
||
services: | ||
app: | ||
image: "mcr.microsoft.com/vscode/devcontainers/javascript-node:14" | ||
|
||
volumes: | ||
- "..:/workspace:cached" | ||
- "./test-connection.json:/root/.tedious/test-connection.json" | ||
|
||
# Overrides default command so things don't shut down after the process ends. | ||
command: "sleep infinity" | ||
|
||
depends_on: | ||
- mssql | ||
|
||
mssql: | ||
image: "mcr.microsoft.com/mssql/server:2019-latest" | ||
|
||
restart: unless-stopped | ||
|
||
environment: | ||
- "ACCEPT_EULA=Y" | ||
- "SA_PASSWORD=yourStrong(!)Password" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"config": { | ||
"server": "mssql", | ||
"authentication": { | ||
"type": "default", | ||
"options": { | ||
"userName": "sa", | ||
"password": "yourStrong(!)Password" | ||
} | ||
}, | ||
"options": { | ||
"port": 1433, | ||
"database": "master", | ||
"trustServerCertificate": true | ||
} | ||
} | ||
} |