Implement initial product management with Entity Framework Core #3
This commit is contained in:
@@ -34,18 +34,26 @@
|
||||
}
|
||||
},
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
"forwardPorts": [
|
||||
4200,
|
||||
5000,
|
||||
5001
|
||||
],
|
||||
"portsAttributes": {
|
||||
"5001": {
|
||||
"protocol": "https"
|
||||
}
|
||||
"forwardPorts": [
|
||||
4200,
|
||||
5000,
|
||||
5001,
|
||||
1433
|
||||
],
|
||||
"portsAttributes": {
|
||||
"5001": {
|
||||
"protocol": "https"
|
||||
},
|
||||
// postCreateCommand.sh parameters: $1=SA password, $2=dacpac path, $3=sql script(s) path
|
||||
"postCreateCommand": "bash .devcontainer/mssql/postCreateCommand.sh 'P@ssw0rd' './bin/Debug/' './.devcontainer/mssql/'"
|
||||
"1433": {
|
||||
"protocol": "tcp"
|
||||
}
|
||||
},
|
||||
// postCreateCommand.sh parameters: $1=SA password, $2=dacpac path, $3=sql script(s) path
|
||||
"containerEnv": {
|
||||
"SA_PASSWORD": "P@ssw0rd",
|
||||
"ACCEPT_EULA": "Y"
|
||||
},
|
||||
"postCreateCommand": "bash .devcontainer/mssql/postCreateCommand.sh 'P@ssw0rd' './bin/Debug/' './.devcontainer/mssql/'"
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
}
|
||||
Reference in New Issue
Block a user