From 561bac103820d80a275901e4fafb6c137c09ddb2 Mon Sep 17 00:00:00 2001 From: Flook Peter Date: Wed, 31 Jul 2024 20:10:01 +0800 Subject: [PATCH 1/2] Add polaris --- README.md | 1 + docker-compose-persist.yaml | 3 +++ docker-compose.yaml | 11 +++++++++++ 3 files changed, 15 insertions(+) diff --git a/README.md b/README.md index d9f94aa..d03d2b3 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,7 @@ POSTGRES_USER=my-user POSTGRES_PASSWORD=my-password ./run.sh postgres | Database | spanner | ✅ | | Database | sqlite | ✅ | | Data Catalog | marquez | ✅ | +| Data Catalog | polaris | ✅ | | Data Catalog | unitycatalog | ✅ | | Data Catalog | amundsen | ❌ | | Data Catalog | datahub | ❌ | diff --git a/docker-compose-persist.yaml b/docker-compose-persist.yaml index 72bf1b2..38c2c19 100644 --- a/docker-compose-persist.yaml +++ b/docker-compose-persist.yaml @@ -72,6 +72,9 @@ services: opensearch: volumes: - "./data/opensearch/persist:/usr/share/opensearch/data" + polaris: + volumes: + - "./data/polaris/persist/credentials:/tmp/credentials" postgres-server: volumes: - "./data/postgres/persist:/data/postgres" diff --git a/docker-compose.yaml b/docker-compose.yaml index ee9cbd5..2bbdd4d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -720,6 +720,17 @@ services: ports: - "9000:9000" restart: unless-stopped + polaris: + container_name: polaris + healthcheck: + interval: 10s + retries: 5 + test: [ "CMD", "curl", "http://localhost:8182/healthcheck" ] + timeout: 10s + image: "datacatering/polaris:${POLARIS_VERSION:-1.0.0}" + ports: + - "8181:8181" + - "8182:8182" postgres: command: [/bin/bash, -c, /tmp/scripts/init.sh] container_name: postgres-data From c5912e965cfd6daca57c0d90646e4283de5ef681 Mon Sep 17 00:00:00 2001 From: pflooky Date: Wed, 31 Jul 2024 12:11:32 +0000 Subject: [PATCH 2/2] Format docker compose YAML files --- docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 2bbdd4d..e471c45 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -725,7 +725,7 @@ services: healthcheck: interval: 10s retries: 5 - test: [ "CMD", "curl", "http://localhost:8182/healthcheck" ] + test: [CMD, curl, "http://localhost:8182/healthcheck"] timeout: 10s image: "datacatering/polaris:${POLARIS_VERSION:-1.0.0}" ports: