blob: a8be3051cb8fc56f6df67ae8731e45d8970b584b [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
}
}],
"mongodb": [{
"name": "pgg",
"size": "2Gi",
"expose": [{
"network": "private",
"subdomain": "mongoo"
}]
}],
"cluster": "ct"
}
}