twenty/packages/twenty-docker
Sandab Gharti GC 7e80cd5366
mod: entrypoint for docker to setup db even in server with less memory (#5815)
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](https://github.com/twentyhq/twenty/assets/52379037/5e27240a-23ef-4d52-93bb-337e1a004feb)

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

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-07-19 14:54:00 +02:00
..
k8s Support for Kubernetes via Terraform and Manifests (#5721) 2024-07-10 13:54:27 +02:00
twenty mod: entrypoint for docker to setup db even in server with less memory (#5815) 2024-07-19 14:54:00 +02:00
twenty-postgres Upgrade pg graphql version to 1.5.6 (#5937) 2024-06-18 17:34:16 +02:00
twenty-postgres-spilo Upgrade pg graphql version to 1.5.6 (#5937) 2024-06-18 17:34:16 +02:00
twenty-website fix: fix root start script (#5032) 2024-04-19 18:28:02 +02:00
.env.example 5531 update gmail full sync to v2 (#5674) 2024-05-31 13:29:58 +02:00
docker-compose.yml feat: add resolve absolute path util (#5836) 2024-06-12 21:17:31 +02:00
Makefile Fix docs build in CI (#5826) 2024-06-11 19:06:37 +02:00