blob: 89546c07472afb0720a5d3eddc513462862e96cf [file] [log] [blame]
POST http://localhost:8080/api/dodo-app
Content-Type: application/json
{
"id": "canvas",
"sshPrivateKey": "",
"config": {
"service": [{
"name": "app",
"type": "golang:1.24.0",
"source": {
"repository": "https://code.v1.dodo.cloud/pcloud",
"branch": "test-canvas",
"rootDir": "apps/canvas/server"
},
"ingress": {
"network": "private",
"subdomain": "canvas",
"auth": {
"enabled": false
}
},
"dev": {
"enabled": false
}
}],
"postgresql": [{
"name": "pgg",
"size": "2Gi",
"expose": [{
"network": "public",
"subdomain": "piopio"
}]
}],
"cluster": "asdc"
}
}