Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Change env params handling in the docker start script

Tomas Valentacf2f8e7a5e20
diff --git a/api-service/start.sh b/api-service/start.sh
index bc1a0e2b8..921fafe5d 100755
--- a/api-service/start.sh
+++ b/api-service/start.sh
@@ -4,7 +4,7 @@
cd /playground && exec node lib/server.js &
# Start python app
-cd /app && OBJC_DISABLE_INITIALIZE_FORK_SAFETY="YES" exec poetry run opentelemetry-instrument --service_name agent-api --exporter_otlp_endpoint \"ingest.lightstep.com:443\" --traces_exporter otlp_proto_grpc --metrics_exporter otlp_proto_grpc gunicorn --bind 0.0.0.0:$PORT --workers 1 --threads 14 --timeout 120 app:app -k uvicorn.workers.UvicornWorker &
+cd /app && OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES exec poetry run opentelemetry-instrument --service_name agent-api --exporter_otlp_endpoint 'ingest.lightstep.com:443' --traces_exporter console,otlp_proto_grpc --metrics_exporter console,otlp_proto_grpc gunicorn --bind 0.0.0.0:$PORT --workers 1 --threads 12 --timeout 120 app:app -k uvicorn.workers.UvicornWorker &
# Wait for any process to exit
wait -n