36 lines
840 B
JSON
36 lines
840 B
JSON
{
|
|
"name": "Guardian Newscast Pipeline",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"context": ".."
|
|
},
|
|
"forwardPorts": [8080],
|
|
"portsAttributes": {
|
|
"8080": {
|
|
"label": "Newscast API",
|
|
"onAutoForward": "notify"
|
|
}
|
|
},
|
|
"postCreateCommand": "pip install -r requirements.txt",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance"
|
|
],
|
|
"settings": {
|
|
"python.defaultInterpreterPath": "/usr/local/bin/python",
|
|
"python.envFile": "${workspaceFolder}/.env"
|
|
}
|
|
}
|
|
},
|
|
"remoteEnv": {
|
|
"OLLAMA_URL": "http://host.docker.internal:11434/api/generate",
|
|
"MODEL_NAME": "gemma4:e2b",
|
|
"PORT": "8080",
|
|
"POLL_INTERVAL": "21600",
|
|
"TTS_VOICE": "af_heart",
|
|
"DATA_DIR": "${workspaceFolder}/data"
|
|
}
|
|
}
|