File tree Expand file tree Collapse file tree 12 files changed +36
-12
lines changed
resource-usage-tracker/docker Expand file tree Collapse file tree 12 files changed +36
-12
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,9 @@ if [ "${SC_BOOT_MODE}" = "debug" ]; then
5151 reload_dir_packages=$( fdfind src /devel/packages --exec echo ' --reload-dir {} ' | tr ' \n' ' ' )
5252 exec sh -c "
5353 cd services/agent/src/simcore_service_agent && \
54- python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${AGENT_SERVER_REMOTE_DEBUG_PORT} -m uvicorn main:the_app \
54+ python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${AGENT_SERVER_REMOTE_DEBUG_PORT} -m \
55+ uvicorn \
56+ --factory main:create_app \
5557 --host 0.0.0.0 \
5658 --port 8000 \
5759 --reload \
Original file line number Diff line number Diff line change @@ -44,7 +44,9 @@ if [ "${SC_BOOT_MODE}" = "debug" ]; then
4444
4545 exec sh -c "
4646 cd services/api-server/src/simcore_service_api_server && \
47- python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${API_SERVER_REMOTE_DEBUG_PORT} -m uvicorn main:the_app \
47+ python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${API_SERVER_REMOTE_DEBUG_PORT} -m \
48+ uvicorn \
49+ --factory main:create_app \
4850 --host 0.0.0.0 \
4951 --reload \
5052 $reload_dir_packages \
Original file line number Diff line number Diff line change @@ -51,7 +51,9 @@ if [ "${SC_BOOT_MODE}" = "debug" ]; then
5151
5252 exec sh -c "
5353 cd services/autoscaling/src/simcore_service_autoscaling && \
54- python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${AUTOSCALING_REMOTE_DEBUGGING_PORT} -m uvicorn main:the_app \
54+ python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${AUTOSCALING_REMOTE_DEBUGGING_PORT} -m \
55+ uvicorn \
56+ --factory main:create_app \
5557 --host 0.0.0.0 \
5658 --reload \
5759 $reload_dir_packages \
Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ if [ "${SC_BOOT_MODE}" = "debug" ]; then
5252
5353 exec sh -c "
5454 cd services/clusters-keeper/src/simcore_service_clusters_keeper && \
55- python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${CLUSTERS_KEEPER_REMOTE_DEBUGGING_PORT} -m uvicorn main:the_app \
55+ python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${CLUSTERS_KEEPER_REMOTE_DEBUGGING_PORT} -m \
56+ uvicorn \
57+ --factory main:create_app \
5658 --host 0.0.0.0 \
5759 --reload \
5860 $reload_dir_packages \
Original file line number Diff line number Diff line change @@ -49,7 +49,9 @@ if [ "${SC_BOOT_MODE}" = "debug" ]; then
4949
5050 exec sh -c "
5151 cd services/datcore-adapter/src/simcore_service_datcore_adapter && \
52- python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${DATCORE_ADAPTER_REMOTE_DEBUG_PORT} -m uvicorn main:the_app \
52+ python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${DATCORE_ADAPTER_REMOTE_DEBUG_PORT} -m \
53+ uvicorn \
54+ --factory main:create_app \
5355 --host 0.0.0.0 \
5456 --reload \
5557 $reload_dir_packages \
Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ if [ "${SC_BOOT_MODE}" = "debug" ]; then
5252
5353 exec sh -c "
5454 cd services/dynamic-scheduler/src/simcore_service_dynamic_scheduler && \
55- python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${DYNAMIC_SCHEDULER_REMOTE_DEBUGGING_PORT} -m uvicorn main:the_app \
55+ python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${DYNAMIC_SCHEDULER_REMOTE_DEBUGGING_PORT} -m \
56+ uvicorn \
57+ --factory main:create_app \
5658 --host 0.0.0.0 \
5759 --reload \
5860 $reload_dir_packages \
Original file line number Diff line number Diff line change @@ -53,7 +53,9 @@ if [ "${SC_BOOT_MODE}" = "debug" ]; then
5353
5454 exec sh -c "
5555 cd services/dynamic-sidecar/src/simcore_service_dynamic_sidecar && \
56- python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${DYNAMIC_SIDECAR_REMOTE_DEBUGGING_PORT} -m uvicorn main:the_app \
56+ python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${DYNAMIC_SIDECAR_REMOTE_DEBUGGING_PORT} -m \
57+ uvicorn \
58+ --factory main:create_app \
5759 --host 0.0.0.0 \
5860 --reload \
5961 $reload_dir_packages \
Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ if [ "${SC_BOOT_MODE}" = "debug" ]; then
5252
5353 exec sh -c "
5454 cd services/efs-guardian/src/simcore_service_efs_guardian && \
55- python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${EFS_GUARDIAN_REMOTE_DEBUGGING_PORT} -m uvicorn main:the_app \
55+ python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${EFS_GUARDIAN_REMOTE_DEBUGGING_PORT} -m \
56+ uvicorn \
57+ --factory main:create_app \
5658 --host 0.0.0.0 \
5759 --reload \
5860 $reload_dir_packages \
Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ if [ "${SC_BOOT_MODE}" = "debug" ]; then
5252
5353 exec sh -c "
5454 cd services/invitations/src/simcore_service_invitations && \
55- python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${INVITATIONS_REMOTE_DEBUGGING_PORT} -m uvicorn main:the_app \
55+ python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${INVITATIONS_REMOTE_DEBUGGING_PORT} -m \
56+ uvicorn \
57+ --factory main:create_app \
5658 --host 0.0.0.0 \
5759 --reload \
5860 $reload_dir_packages \
Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ if [ "${SC_BOOT_MODE}" = "debug" ]; then
5252
5353 exec sh -c "
5454 cd services/notifications/src/simcore_service_notifications && \
55- python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${NOTIFICATIONS_REMOTE_DEBUGGING_PORT} -m uvicorn main:the_app \
55+ python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:${NOTIFICATIONS_REMOTE_DEBUGGING_PORT} -m \
56+ uvicorn \
57+ --factory main:create_app \
5658 --host 0.0.0.0 \
5759 --port 8000 \
5860 --reload \
You can’t perform that action at this time.
0 commit comments