Skip to content

Commit

Permalink
Add ports to devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
pamelafox committed Nov 25, 2024
1 parent d7167eb commit 4d39865
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .devcontainer/tests/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
"dockerComposeFile": "docker-compose.yaml",
"service": "app",
"workspaceFolder": "/workspace",
"forwardPorts": [10000, 10001],
"forwardPorts": [10000, 10001, 5432, 27017],
"portsAttributes": {
"10000": {"label": "Azurite Blob Storage Emulator", "onAutoForward": "silent"},
"10001": {"label": "Azurite Blob Storage Emulator HTTPS", "onAutoForward": "silent"},
"5432": {"label": "PostgreSQL port", "onAutoForward": "silent"}
"5432": {"label": "PostgreSQL port", "onAutoForward": "silent"},
"27017": {"label": "MongoDB port", "onAutoForward": "silent"},
},
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
Expand Down

0 comments on commit 4d39865

Please sign in to comment.