-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.replit
More file actions
93 lines (70 loc) · 1.79 KB
/
Copy path.replit
File metadata and controls
93 lines (70 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
modules = ["nodejs-22", "python-3.11", "postgresql-16"]
[agent]
expertMode = true
stack = "BEST_EFFORT_FALLBACK"
[nix]
channel = "stable-25_05"
[userenv]
[userenv.shared]
PORT = "5000"
API_PORT = "3001"
APP_BASE_URL = "https://truenote.org"
[workflows]
runButton = "Project"
[[workflows.workflow]]
name = "Project"
mode = "parallel"
author = "agent"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "api-server"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "ingestion-worker"
[[workflows.workflow.tasks]]
task = "workflow.run"
args = "rag-app"
[[workflows.workflow]]
name = "api-server"
author = "agent"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "pnpm --filter @workspace/api-server run dev"
waitForPort = 3001
[workflows.workflow.metadata]
outputType = "console"
[[workflows.workflow]]
name = "ingestion-worker"
author = "agent"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "pnpm --filter @workspace/scripts run worker"
[workflows.workflow.metadata]
outputType = "console"
[[workflows.workflow]]
name = "rag-app"
author = "agent"
[[workflows.workflow.tasks]]
task = "shell.exec"
args = "pnpm --filter @workspace/rag-app run dev"
waitForPort = 5000
[workflows.workflow.metadata]
outputType = "webview"
[[ports]]
localPort = 3001
externalPort = 3001
[[ports]]
localPort = 5000
externalPort = 80
[[ports]]
localPort = 5001
externalPort = 3000
[deployment]
deploymentTarget = "autoscale"
run = ["bash", "-c", "API_PORT=5000 NODE_ENV=production pnpm --filter @workspace/api-server run start & pnpm --filter @workspace/scripts run worker & wait"]
build = ["bash", "-c", "pnpm --filter @workspace/rag-app run build"]
[objectStorage]
defaultBucketID = "replit-objstore-a2040b63-42f1-4634-a980-06c7e837a4cb"
[postMerge]
path = "scripts/post-merge.sh"
timeoutMs = 120000