Adds devcontainer

This commit is contained in:
2026-06-14 01:06:13 -07:00
parent e9ff109f0a
commit 5f0d8511d2
2 changed files with 58 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
{
"name": "Guardian Newscast Pipeline",
"build": {
"dockerfile": "Dockerfile"
},
"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"
}
}