File size: 976 Bytes
a289b2a 8f175f6 a289b2a 8f175f6 a289b2a | 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 | {
// Runs the whole product in a GitHub Codespace (a cloud machine with 8 GB of memory), so full browser runs work
// without a laptop or a paid server. The application starts by itself; open the forwarded port 8800.
"name": "Patchwise (demo)",
"build": { "dockerfile": "../Dockerfile", "context": ".." },
"hostRequirements": { "cpus": 2, "memory": "8gb" },
// root inside this throwaway machine: avoids file-ownership differences between the image and the Codespace
"containerUser": "root",
"remoteUser": "root",
"containerEnv": {
"FPT_ORCHESTRATOR": "langgraph",
"PLAYWRIGHT_MODE": "live",
"FPT_BROWSER_RUNS": "1",
"FPT_COOKIE_SECURE": "always",
"FPT_CASE_WRITEBACK": "0",
"PATCH_WATCH_ENABLED": "0",
"FPT_ORG_NAME": "Demo"
},
"forwardPorts": [8800],
"portsAttributes": {
"8800": { "label": "Patchwise", "onAutoForward": "openBrowser" }
},
"postStartCommand": "sh .devcontainer/start.sh"
}
|