run-spaceapp 1.0.2 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -5
- package/package.json +4 -4
- package/src/cli.mjs +634 -288
- package/src/index.mjs +90 -28
- package/src/prerequisites.mjs +36 -11
- package/src/prompt-controller.mjs +344 -0
- package/src/storage.mjs +159 -0
- package/src/support-manifest.json +147 -0
- package/templates/compose.yml +11 -1
package/templates/compose.yml
CHANGED
|
@@ -3,12 +3,19 @@ services:
|
|
|
3
3
|
image: ghcr.io/oll4com/spaceapp-core:${SPACEAPP_IMAGE_TAG}
|
|
4
4
|
restart: unless-stopped
|
|
5
5
|
init: true
|
|
6
|
+
entrypoint:
|
|
7
|
+
- /bin/sh
|
|
8
|
+
- -ec
|
|
9
|
+
- |
|
|
10
|
+
sed -i 's/agentToolsWriterCommand: env.SPACE_AGENT_TOOLS_WRITER || [^,]*/agentToolsWriterCommand: null/g' /app/apps/api/dist/config.js 2>/dev/null || true
|
|
11
|
+
exec /app/deploy/docker/core-entrypoint.sh
|
|
6
12
|
security_opt:
|
|
7
13
|
- no-new-privileges:true
|
|
8
14
|
mem_limit: "${SPACEAPP_CORE_MEMORY_LIMIT}"
|
|
9
15
|
cpus: "${SPACEAPP_CORE_CPU_LIMIT}"
|
|
10
16
|
environment:
|
|
11
17
|
SPACE_PUBLIC_DISTRIBUTION: "true"
|
|
18
|
+
SPACE_AGENT_TOOLS_WRITER: "disabled"
|
|
12
19
|
SPACE_DEV_LOGIN: "false"
|
|
13
20
|
SPACE_APP_VERSION: "${SPACEAPP_IMAGE_TAG}"
|
|
14
21
|
SPACE_TELEMETRY_ENABLED: "${SPACEAPP_TELEMETRY}"
|
|
@@ -23,6 +30,7 @@ services:
|
|
|
23
30
|
SPACE_WEB_PORT: 4911
|
|
24
31
|
SPACE_API_ORIGIN: http://127.0.0.1:4910
|
|
25
32
|
SPACE_TEMPORAL_ADDRESS: temporal:7233
|
|
33
|
+
SPACEAPP_WORKFLOWS_ENABLED: "${SPACEAPP_WORKFLOWS_ENABLED}"
|
|
26
34
|
SPACE_MEMORY_ROOT: /var/lib/spaceapp/memory
|
|
27
35
|
SPACE_STARTER_MEMORY_ROOT: /opt/spaceapp/starter-memory
|
|
28
36
|
SPACE_MEMORY_GRAPH_ROOT: /var/lib/spaceapp/memory-graph
|
|
@@ -64,6 +72,7 @@ services:
|
|
|
64
72
|
condition: service_healthy
|
|
65
73
|
temporal:
|
|
66
74
|
condition: service_healthy
|
|
75
|
+
required: false
|
|
67
76
|
spaceapp-cli:
|
|
68
77
|
condition: service_started
|
|
69
78
|
networks:
|
|
@@ -171,6 +180,7 @@ services:
|
|
|
171
180
|
|
|
172
181
|
temporal:
|
|
173
182
|
image: temporalio/auto-setup:1.29.1
|
|
183
|
+
profiles: ["workflows"]
|
|
174
184
|
restart: unless-stopped
|
|
175
185
|
mem_limit: "${SPACEAPP_TEMPORAL_MEMORY_LIMIT}"
|
|
176
186
|
cpus: "${SPACEAPP_TEMPORAL_CPU_LIMIT}"
|
|
@@ -189,7 +199,7 @@ services:
|
|
|
189
199
|
secrets:
|
|
190
200
|
- postgres-password
|
|
191
201
|
healthcheck:
|
|
192
|
-
test: ["CMD", "temporal
|
|
202
|
+
test: ["CMD-SHELL", "temporal operator cluster health --address temporal:7233 >/dev/null && temporal operator namespace describe --namespace default --address temporal:7233 >/dev/null"]
|
|
193
203
|
interval: 15s
|
|
194
204
|
timeout: 10s
|
|
195
205
|
retries: 10
|