Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile-node
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ CMD set -x && \
uv run python -m node.storage.db.init_db 2>&1 && \
uv run python -m node.storage.hub.init_hub 2>&1 && \
uv run python -m node.storage.hub.init_hub --user 2>&1 && \
((uv run celery -A node.worker.main:app worker --loglevel=info | tee /dev/stdout) & ) && \
((uv run celery -A node.worker.main:app worker --loglevel=info --concurrency=120 --max-tasks-per-child=100 --max-memory-per-child=350000 | tee /dev/stdout) & ) && \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should decide on the celery configs first?

((uv run python -m node.server.server --communication-protocol http --port 7001) &) && \
uv run python -m node.server.server --communication-protocol ws --port 7002
2 changes: 1 addition & 1 deletion Dockerfile-node-dev
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ EXPOSE 7001 7002
CMD (uv run -m node.storage.db.init_db | tee /dev/stdout) && \
(uv run -m node.storage.hub.init_hub | tee /dev/stdout) && \
(uv run -m node.storage.hub.init_hub --user | tee /dev/stdout) && \
((uv run -m celery -A node.worker.main:app worker --loglevel=info | tee /dev/stdout) & ) && \
((uv run -m celery -A node.worker.main:app worker --loglevel=info --concurrency=120 --max-tasks-per-child=100 --max-memory-per-child=350000 | tee /dev/stdout) & ) && \
(uv run -m node.server.server --communication-protocol http --port 7001 | tee /dev/stdout) & \
uv run -m node.server.server --communication-protocol ws --port 7002 | tee /dev/stdout