blob: a8be3051cb8fc56f6df67ae8731e45d8970b584b [file] [log] [blame]
giofc441e32024-11-11 16:26:14 +04001POST http://localhost:8080/api/dodo-app
2Content-Type: application/json
3
4{
5 "id": "canvas",
6 "sshPrivateKey": "",
7 "config": {
8 "service": [{
9 "name": "app",
10 "type": "golang:1.24.0",
11 "source": {
12 "repository": "https://code.v1.dodo.cloud/pcloud",
13 "branch": "test-canvas",
14 "rootDir": "apps/canvas/server"
15 },
16 "ingress": {
17 "network": "private",
18 "subdomain": "canvas",
19 "auth": {
20 "enabled": false
21 }
22 },
23 "dev": {
24 "enabled": false
25 }
26 }],
27 "mongodb": [{
28 "name": "pgg",
29 "size": "2Gi",
30 "expose": [{
31 "network": "private",
32 "subdomain": "mongoo"
33 }]
34 }],
35 "cluster": "ct"
36 }
37}