Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mod: entrypoint for docker to setup db even in server with less memory #5815

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheSpiritMan
Copy link

Hello team,

  • Modified File: packages/twenty-docker/twenty/entrypoint.sh

  • Reason: The current entrypoint.sh works fine for server with RAM more than 8GB. But the server with less RAM will give error while running scripts/setup-db.ts.
    setup-db-failed

  • My commit: It will set NODE_OPTIONS="--max-old-space-size=8192" in docker entrypoint which guarantee to run the script successfully.

Copy link

Welcome!

Hello there, congrats on your first PR! We're excited to have you contributing to this project.
By submitting your Pull Request, you acknowledge that you agree with the terms of our Contributor License Agreement.

Generated by 🚫 dangerJS against 577875e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants