mirror of
https://github.com/hanzoai/runtime.git
synced 2026-10-30 18:23:13 +00:00
- added a centralized proxy app - proxy supports auth via query param, header or JWT cookie - added a proxy to the daemon - runner now proxies everything to daemon instead of directly to container port Signed-off-by: Toma Puljak <[email protected]>
43 lines
925 B
JSON
43 lines
925 B
JSON
{
|
|
"name": "proxy",
|
|
"$schema": "../../runner_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"sourceRoot": "apps/proxy",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx-go/nx-go:build",
|
|
"options": {
|
|
"main": "{projectRoot}/cmd/proxy/main.go",
|
|
"outputPath": "dist/apps/proxy"
|
|
},
|
|
"configurations": {
|
|
"production": {}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "@nx-go/nx-go:serve",
|
|
"options": {
|
|
"cmd": "gow",
|
|
"cwd": ".",
|
|
"main": "{projectRoot}/cmd/proxy/main.go"
|
|
},
|
|
"configurations": {
|
|
"production": {}
|
|
}
|
|
},
|
|
"format": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "cd {projectRoot} && go fmt ./..."
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx-go/nx-go:test"
|
|
},
|
|
"lint": {
|
|
"executor": "@nx-go/nx-go:lint"
|
|
}
|
|
}
|
|
}
|