diff --git a/getting-started/eclipselink/docker-compose.yml b/getting-started/eclipselink/docker-compose.yml index 1126dae95d..06f6b3c63e 100644 --- a/getting-started/eclipselink/docker-compose.yml +++ b/getting-started/eclipselink/docker-compose.yml @@ -37,6 +37,9 @@ services: polaris.realm-context.realms: POLARIS quarkus.otel.sdk.disabled: "true" POLARIS_BOOTSTRAP_CREDENTIALS: POLARIS,${CLIENT_ID},${CLIENT_SECRET} + polaris.features."ALLOW_INSECURE_STORAGE_TYPES": "true" + polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES": "[\"FILE\",\"S3\",\"GCS\",\"AZURE\"]" + polaris.readiness.ignore-severe-issues: "true" volumes: - ../assets/eclipselink/:/deployments/config/eclipselink healthcheck: diff --git a/getting-started/jdbc/README.md b/getting-started/jdbc/README.md index ca2b181ee1..f923ebc721 100644 --- a/getting-started/jdbc/README.md +++ b/getting-started/jdbc/README.md @@ -40,6 +40,8 @@ This example requires `jq` to be installed on your machine. export QUARKUS_DATASOURCE_JDBC_URL=jdbc:postgresql://postgres:5432/POLARIS export QUARKUS_DATASOURCE_USERNAME=postgres export QUARKUS_DATASOURCE_PASSWORD=postgres + export CLIENT_ID=root + export CLIENT_SECRET=s3cr3t docker compose -f getting-started/jdbc/docker-compose-bootstrap-db.yml -f getting-started/assets/postgres/docker-compose-postgres.yml -f getting-started/jdbc/docker-compose.yml up ``` diff --git a/getting-started/jdbc/docker-compose.yml b/getting-started/jdbc/docker-compose.yml index 7429f3a706..67e8f9757c 100644 --- a/getting-started/jdbc/docker-compose.yml +++ b/getting-started/jdbc/docker-compose.yml @@ -29,18 +29,22 @@ services: # Optional, allows attaching a debugger to the Polaris JVM - "5005:5005" environment: - - JAVA_DEBUG=true - - JAVA_DEBUG_PORT=*:5005 - - POLARIS_PERSISTENCE_TYPE=relational-jdbc - - POLARIS_PERSISTENCE_RELATIONAL_JDBC_MAX_RETRIES=5 - - POLARIS_PERSISTENCE_RELATIONAL_JDBC_INITIAL_DELAY_IN_MS=100 - - POLARIS_PERSISTENCE_RELATIONAL_JDBC_MAX_DELAY_IN_MS=5000 - - QUARKUS_DATASOURCE_DB_KIND=pgsql - - QUARKUS_DATASOURCE_JDBC_URL=${QUARKUS_DATASOURCE_JDBC_URL} - - QUARKUS_DATASOURCE_USERNAME=${QUARKUS_DATASOURCE_USERNAME} - - QUARKUS_DATASOURCE_PASSWORD=${QUARKUS_DATASOURCE_PASSWORD} - - POLARIS_REALM_CONTEXT_REALMS=POLARIS - - QUARKUS_OTEL_SDK_DISABLED=true + JAVA_DEBUG: true + JAVA_DEBUG_PORT: "*:5005" + POLARIS_PERSISTENCE_TYPE: relational-jdbc + POLARIS_PERSISTENCE_RELATIONAL_JDBC_MAX_RETRIES: 5 + POLARIS_PERSISTENCE_RELATIONAL_JDBC_INITIAL_DELAY_IN_MS: 100 + POLARIS_PERSISTENCE_RELATIONAL_JDBC_MAX_DELAY_IN_MS: 5000 + QUARKUS_DATASOURCE_DB_KIND: pgsql + QUARKUS_DATASOURCE_JDBC_URL: $QUARKUS_DATASOURCE_JDBC_URL + QUARKUS_DATASOURCE_USERNAME: $QUARKUS_DATASOURCE_USERNAME + QUARKUS_DATASOURCE_PASSWORD: $QUARKUS_DATASOURCE_PASSWORD + POLARIS_REALM_CONTEXT_REALMS: POLARIS + QUARKUS_OTEL_SDK_DISABLED: true + POLARIS_BOOTSTRAP_CREDENTIALS: POLARIS,$CLIENT_ID,$CLIENT_SECRET + polaris.features."ALLOW_INSECURE_STORAGE_TYPES": "true" + polaris.features."SUPPORTED_CATALOG_STORAGE_TYPES": "[\"FILE\",\"S3\",\"GCS\",\"AZURE\"]" + polaris.readiness.ignore-severe-issues: "true" healthcheck: test: ["CMD", "curl", "http://localhost:8182/q/health"] interval: 2s @@ -57,6 +61,8 @@ services: - STORAGE_LOCATION=${STORAGE_LOCATION} - AWS_ROLE_ARN=${AWS_ROLE_ARN} - AZURE_TENANT_ID=${AZURE_TENANT_ID} + - CLIENT_ID=${CLIENT_ID} + - CLIENT_SECRET=${CLIENT_SECRET} volumes: - ../assets/polaris/:/polaris entrypoint: '/bin/sh -c "chmod +x /polaris/create-catalog.sh && /polaris/create-catalog.sh"' @@ -98,5 +104,8 @@ services: tty: true ports: - "8080:8080" + environment: + - CLIENT_ID=${CLIENT_ID} + - CLIENT_SECRET=${CLIENT_SECRET} volumes: - ../assets/trino-config/catalog:/etc/trino/catalog