Spaces:
No application file
No application file
File size: 1,643 Bytes
19193e8 46f7108 19193e8 46f7108 19193e8 46f7108 19193e8 46f7108 19193e8 46f7108 19193e8 46f7108 19193e8 46f7108 19193e8 46f7108 19193e8 46f7108 9f091b1 46f7108 19193e8 46f7108 19193e8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | {
"name": "Existing Docker Compose (Extend)",
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
"dockerComposeFile": [
"../docker-compose.yml",
"docker-compose.yml"
],
// The 'service' property is the name of the service for the container that VS Code should use.
// Update this value and .devcontainer/docker-compose.yml to the real service name.
"service": "app",
// The optional 'workspaceFolder' property is the path VS Code should open by default when connected.
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [7860],
// Start specific services in your Docker Compose configuration.
"runServices": ["app"],
// Keep your containers running after VS Code shuts down.
"shutdownAction": "stopCompose",
// Run commands after the container is created.
"postCreateCommand": "chainlit run app.py --host 0.0.0.0 --port 7860 --watch",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"settings": {
"python.pythonPath": "/app/.venv/bin/python"
},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.black-formatter"
]
}
},
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "root"
}
|