v.0.11.3 api-server public port 8000

This commit is contained in:
tiijay
2025-11-21 19:07:41 +00:00
parent c27b97fc71
commit 115e402b0d
5 changed files with 27 additions and 19 deletions

View File

@@ -7,8 +7,9 @@
"dockerfile": "Dockerfile"
},
"runArgs": [
"--network=dev-network",
"--name=api-server"
// "--network=dev-network",
"--name=api-server",
"-p", "8000:8000"
],
// "image": "mcr.microsoft.com/devcontainers/python:1-3.12",
// "image": "python:latest",
@@ -31,11 +32,11 @@
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [9000],
"forwardPorts": [8000],
// Use 'portsAttributes' to set default properties for specific forwarded ports.
// More info: https://containers.dev/implementors/json_reference/#port-attributes
"portsAttributes": {
"9000": {
"8000": {
"label": "API-Server Application",
"onAutoForward": "notify"
}