Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
slvrtrn committed May 6, 2024
1 parent c7d051c commit b0aca28
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
6. Make sure you are the in the directory where your `metabase.jar` lives.
7. Run `MB_PLUGINS_DIR=./plugins; java -jar metabase.jar`.

For example [(using Metabase v0.49.3 and ClickHouse driver 1.4.1)](#choosing-the-right-version):
For example [(using Metabase v0.49.3 and ClickHouse driver 1.4.0)](#choosing-the-right-version):

```bash
export METABASE_VERSION=v0.49.3
export METABASE_CLICKHOUSE_DRIVER_VERSION=1.4.1
export METABASE_CLICKHOUSE_DRIVER_VERSION=1.4.0

mkdir -p mb/plugins && cd mb
curl -o metabase.jar https://downloads.metabase.com/$METABASE_VERSION/metabase.jar
Expand All @@ -50,7 +50,7 @@ Alternatively, if you don't want to run Metabase Jar, you can use a Docker image

```bash
export METABASE_DOCKER_VERSION=v0.49.3
export METABASE_CLICKHOUSE_DRIVER_VERSION=1.4.1
export METABASE_CLICKHOUSE_DRIVER_VERSION=1.4.0

mkdir -p mb/plugins && cd mb
curl -L -o plugins/ch.jar https://github.com/ClickHouse/metabase-clickhouse-driver/releases/download/$METABASE_CLICKHOUSE_DRIVER_VERSION/clickhouse.metabase-driver.jar
Expand All @@ -77,17 +77,17 @@ docker run -d -p 3000:3000 \
| 0.47.x | 1.2.3 |
| 0.47.7+ | 1.2.5 |
| 0.48.x | 1.3.4 |
| 0.49.x | 1.4.1 |
| 0.49.x | 1.4.0 |

## Creating a Metabase Docker image with ClickHouse driver

You can use a convenience script `build_docker_image.sh`, which takes three arguments: Metabase version, ClickHouse driver version, and the desired final Docker image tag.

```bash
./build_docker_image.sh v0.49.3 1.4.1 my-metabase-with-clickhouse:v0.0.1
./build_docker_image.sh v0.49.3 1.4.0 my-metabase-with-clickhouse:v0.0.1
```

where `v0.49.3` is Metabase version, `1.3.3` is ClickHouse driver version, and `my-metabase-with-clickhouse:v0.0.1` being the tag.
where `v0.49.3` is Metabase version, `1.4.0` is ClickHouse driver version, and `my-metabase-with-clickhouse:v0.0.1` being the tag.

Then you should be able to run it:

Expand Down

0 comments on commit b0aca28

Please sign in to comment.