@crossdelta/platform-sdk 0.3.24 → 0.3.25
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.
|
@@ -41,7 +41,11 @@ mkdir -p "$NATS_DATA_DIR"
|
|
|
41
41
|
# Config file: services/nats/nats.conf (same as production)
|
|
42
42
|
echo "[NATS] Starting with JetStream on ports ${NATS_PORT} (client) and ${NATS_HTTP_PORT} (http)..."
|
|
43
43
|
echo "[NATS] Using config: $NATS_CONF"
|
|
44
|
-
|
|
44
|
+
echo "[NATS] Data directory: $NATS_DATA_DIR"
|
|
45
|
+
echo ""
|
|
46
|
+
|
|
47
|
+
# Start container in foreground (logs streaming) so Turbo keeps watching
|
|
48
|
+
docker run --rm \
|
|
45
49
|
--name "$CONTAINER_NAME" \
|
|
46
50
|
-p "${NATS_PORT}:4222" \
|
|
47
51
|
-p "${NATS_HTTP_PORT}:8222" \
|
|
@@ -49,8 +53,3 @@ docker run -d \
|
|
|
49
53
|
-v "${NATS_CONF}:/etc/nats/nats.conf:ro" \
|
|
50
54
|
"$NATS_IMAGE" \
|
|
51
55
|
-c /etc/nats/nats.conf
|
|
52
|
-
|
|
53
|
-
echo "[NATS] Started successfully with JetStream"
|
|
54
|
-
echo "[NATS] Data directory: $NATS_DATA_DIR"
|
|
55
|
-
echo "[NATS] Health check: curl http://localhost:${NATS_HTTP_PORT}/healthz"
|
|
56
|
-
echo "[NATS] JetStream info: curl http://localhost:${NATS_HTTP_PORT}/jsz"
|