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

docker-compose-examples: Postgresql makes it slow #1332

Open
1 of 2 tasks
fflorent opened this issue Dec 3, 2024 · 0 comments
Open
1 of 2 tasks

docker-compose-examples: Postgresql makes it slow #1332

fflorent opened this issue Dec 3, 2024 · 0 comments

Comments

@fflorent
Copy link
Collaborator

fflorent commented Dec 3, 2024

Describe the current behavior

I have noticed the slowness issue when using docker-compose example with postgresql reported here: #773

Steps to reproduce

  1. Go to docker-compose-examples/grist-with-postgres-redis-minio
  2. Run docker-compose up -d

Describe the expected behavior

Workaround:

diff --git a/docker-compose-examples/grist-with-postgres-redis-minio/docker-compose.yml b/docker-compose-examples/grist-with-postgres-redis-minio/docker-compose.yml
index 1202fd27..ec86447a 100644
--- a/docker-compose-examples/grist-with-postgres-redis-minio/docker-compose.yml
+++ b/docker-compose-examples/grist-with-postgres-redis-minio/docker-compose.yml
@@ -35,6 +35,7 @@ services:
 
   grist-db:
     image: postgres:alpine
+    command: -c jit=off
     environment:
         POSTGRES_DB: grist
         POSTGRES_USER: grist

Where have you encountered this bug?

Instance information (when self-hosting only)

  • Grist instance:

    • Version:
    • URL (if it's OK for you to share it):
    • Installation mode: docker/kubernetes/...
    • Architecture: single-worker/multi-workers
  • Browser name, version and platforms on which you could reproduce the bug:

  • Link to browser console log if relevant:

  • Link to server log if relevant:

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

No branches or pull requests

1 participant