Skip to content

Commit fe38a46

Browse files
committed
change entrypoint
1 parent fe7a080 commit fe38a46

File tree

12 files changed

+36
-12
lines changed

12 files changed

+36
-12
lines changed

services/agent/docker/boot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

services/api-server/docker/boot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

services/autoscaling/docker/boot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

services/clusters-keeper/docker/boot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

services/datcore-adapter/docker/boot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

services/dynamic-scheduler/docker/boot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

services/dynamic-sidecar/docker/boot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

services/efs-guardian/docker/boot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

services/invitations/docker/boot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

services/notifications/docker/boot.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 \

0 commit comments

Comments
 (0)