From bd3f1ecd53cd37b98041460dbfda46585f434482 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Wed, 21 Sep 2022 14:39:11 +0100 Subject: [PATCH] Set max memory for Metabase --- docker-compose.yml | 2 ++ docker/docker-compose.prod.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 1a6310c..8eb0b94 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -82,6 +82,8 @@ services: image: metabase/metabase:latest ports: - 3096:3000 + environment: + - JAVA_OPTS=-Xmx1g depends_on: - broker diff --git a/docker/docker-compose.prod.yml b/docker/docker-compose.prod.yml index f197fe0..d6aa7e8 100644 --- a/docker/docker-compose.prod.yml +++ b/docker/docker-compose.prod.yml @@ -79,6 +79,8 @@ services: image: metabase/metabase:latest ports: - 3096:3000 + environment: + - JAVA_OPTS=-Xmx1g depends_on: - broker