mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 21:37:41 +00:00
8 lines
350 B
Bash
8 lines
350 B
Bash
#!/bin/bash
|
|
|
|
# Use concurrently to run both the API and App servers
|
|
npx concurrently \
|
|
"--kill-others" \
|
|
"--names=API,APP" \
|
|
"APP_TYPE=api PORT=${HYPERDX_API_PORT:-8000} node -r /app/api/node_modules/@hyperdx/node-opentelemetry/build/src/tracing /app/api/build/index.js" \
|
|
"/app/app/node_modules/.bin/next start -p ${HYPERDX_APP_PORT:-8080}"
|