blob: 89546c07472afb0720a5d3eddc513462862e96cf [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 }],
gio721c0042025-04-03 11:56:36 +040027 "postgresql": [{
giofc441e32024-11-11 16:26:14 +040028 "name": "pgg",
29 "size": "2Gi",
30 "expose": [{
giof4344632025-04-08 20:04:35 +040031 "network": "public",
32 "subdomain": "piopio"
giofc441e32024-11-11 16:26:14 +040033 }]
34 }],
gio721c0042025-04-03 11:56:36 +040035 "cluster": "asdc"
giofc441e32024-11-11 16:26:14 +040036 }
37}