From 36c0984f97f8845487a3fead9acfe5f50f573a61 Mon Sep 17 00:00:00 2001 From: Akash-Jain Date: Wed, 25 Oct 2023 11:49:30 +0530 Subject: [PATCH] fix(docker-env): Update syntax for ENV files --- .../docker-compose-postgres.yml | 12 ++++++------ docker/docker-compose-quickstart/docker-compose.yml | 13 ++++++------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/docker/docker-compose-quickstart/docker-compose-postgres.yml b/docker/docker-compose-quickstart/docker-compose-postgres.yml index 663af91594b..4363411fe51 100644 --- a/docker/docker-compose-quickstart/docker-compose-postgres.yml +++ b/docker/docker-compose-quickstart/docker-compose-postgres.yml @@ -99,7 +99,7 @@ services: #Database configuration for postgresql DB_DRIVER_CLASS: ${DB_DRIVER_CLASS:-org.postgresql.Driver} DB_SCHEME: ${DB_SCHEME:-postgresql} - DB_USE_SSL: ${DB_USE_SSL:-false} + DB_PARAMS: ${DB_PARAMS:-"allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC"} DB_USER: ${DB_USER:-openmetadata_user} DB_USER_PASSWORD: ${DB_USER_PASSWORD:-openmetadata_password} DB_HOST: ${DB_HOST:-postgresql} @@ -127,6 +127,7 @@ services: EVENT_MONITOR_LATENCY: ${EVENT_MONITOR_LATENCY:-[]} #pipelineServiceClientConfiguration + PIPELINE_SERVICE_CLIENT_ENABLED: ${PIPELINE_SERVICE_CLIENT_ENABLED:-true} PIPELINE_SERVICE_CLIENT_CLASS_NAME: ${PIPELINE_SERVICE_CLIENT_CLASS_NAME:-"org.openmetadata.service.clients.pipeline.airflow.AirflowRESTClient"} PIPELINE_SERVICE_IP_INFO_ENABLED: ${PIPELINE_SERVICE_IP_INFO_ENABLED:-false} PIPELINE_SERVICE_CLIENT_HOST_IP: ${PIPELINE_SERVICE_CLIENT_HOST_IP:-""} @@ -162,8 +163,7 @@ services: OM_URI: ${OM_URI:- "http://localhost:8585"} #extensionConfiguration - OM_RESOURCE_PACKAGES: ${OM_RESOURCE_PACKAGES:-[]} - OM_EXTENSIONS: ${OM_EXTENSIONS:-[]} + MIGRATION_EXTENSION_PATH: ${MIGRATION_EXTENSION_PATH:-""} # Heap OPTS Configurations OPENMETADATA_HEAP_OPTS: ${OPENMETADATA_HEAP_OPTS:--Xmx1G -Xms1G} @@ -253,7 +253,7 @@ services: #Database configuration for postgresql DB_DRIVER_CLASS: ${DB_DRIVER_CLASS:-org.postgresql.Driver} DB_SCHEME: ${DB_SCHEME:-postgresql} - DB_USE_SSL: ${DB_USE_SSL:-false} + DB_PARAMS: ${DB_PARAMS:-"allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC"} DB_USER: ${DB_USER:-openmetadata_user} DB_USER_PASSWORD: ${DB_USER_PASSWORD:-openmetadata_password} DB_HOST: ${DB_HOST:-postgresql} @@ -281,6 +281,7 @@ services: EVENT_MONITOR_LATENCY: ${EVENT_MONITOR_LATENCY:-[]} #pipelineServiceClientConfiguration + PIPELINE_SERVICE_CLIENT_ENABLED: ${PIPELINE_SERVICE_CLIENT_ENABLED:-true} PIPELINE_SERVICE_CLIENT_CLASS_NAME: ${PIPELINE_SERVICE_CLIENT_CLASS_NAME:-"org.openmetadata.service.clients.pipeline.airflow.AirflowRESTClient"} PIPELINE_SERVICE_IP_INFO_ENABLED: ${PIPELINE_SERVICE_IP_INFO_ENABLED:-false} PIPELINE_SERVICE_CLIENT_HOST_IP: ${PIPELINE_SERVICE_CLIENT_HOST_IP:-""} @@ -316,8 +317,7 @@ services: OM_URI: ${OM_URI:- "http://localhost:8585"} #extensionConfiguration - OM_RESOURCE_PACKAGES: ${OM_RESOURCE_PACKAGES:-[]} - OM_EXTENSIONS: ${OM_EXTENSIONS:-[]} + MIGRATION_EXTENSION_PATH: ${MIGRATION_EXTENSION_PATH:-""} # Heap OPTS Configurations OPENMETADATA_HEAP_OPTS: ${OPENMETADATA_HEAP_OPTS:--Xmx1G -Xms1G} diff --git a/docker/docker-compose-quickstart/docker-compose.yml b/docker/docker-compose-quickstart/docker-compose.yml index 6e50976f193..856705ef401 100644 --- a/docker/docker-compose-quickstart/docker-compose.yml +++ b/docker/docker-compose-quickstart/docker-compose.yml @@ -97,7 +97,7 @@ services: # Database configuration for MySQL DB_DRIVER_CLASS: ${DB_DRIVER_CLASS:-com.mysql.cj.jdbc.Driver} DB_SCHEME: ${DB_SCHEME:-mysql} - DB_USE_SSL: ${DB_USE_SSL:-false} + DB_PARAMS: ${DB_PARAMS:-"allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC"} DB_USER: ${DB_USER:-openmetadata_user} DB_USER_PASSWORD: ${DB_USER_PASSWORD:-openmetadata_password} DB_HOST: ${DB_HOST:-mysql} @@ -125,6 +125,7 @@ services: EVENT_MONITOR_LATENCY: ${EVENT_MONITOR_LATENCY:-[]} #pipelineServiceClientConfiguration + PIPELINE_SERVICE_CLIENT_ENABLED: ${PIPELINE_SERVICE_CLIENT_ENABLED:-true} PIPELINE_SERVICE_CLIENT_CLASS_NAME: ${PIPELINE_SERVICE_CLIENT_CLASS_NAME:-"org.openmetadata.service.clients.pipeline.airflow.AirflowRESTClient"} PIPELINE_SERVICE_IP_INFO_ENABLED: ${PIPELINE_SERVICE_IP_INFO_ENABLED:-false} PIPELINE_SERVICE_CLIENT_HOST_IP: ${PIPELINE_SERVICE_CLIENT_HOST_IP:-""} @@ -160,9 +161,7 @@ services: OM_URI: ${OM_URI:- "http://localhost:8585"} #extensionConfiguration - OM_RESOURCE_PACKAGES: ${OM_RESOURCE_PACKAGES:-[]} - OM_EXTENSIONS: ${OM_EXTENSIONS:-[]} - + MIGRATION_EXTENSION_PATH: ${MIGRATION_EXTENSION_PATH:-""} # Heap OPTS Configurations OPENMETADATA_HEAP_OPTS: ${OPENMETADATA_HEAP_OPTS:--Xmx1G -Xms1G} @@ -252,7 +251,7 @@ services: # Database configuration for MySQL DB_DRIVER_CLASS: ${DB_DRIVER_CLASS:-com.mysql.cj.jdbc.Driver} DB_SCHEME: ${DB_SCHEME:-mysql} - DB_USE_SSL: ${DB_USE_SSL:-false} + DB_PARAMS: ${DB_PARAMS:-"allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC"} DB_USER: ${DB_USER:-openmetadata_user} DB_USER_PASSWORD: ${DB_USER_PASSWORD:-openmetadata_password} DB_HOST: ${DB_HOST:-mysql} @@ -280,6 +279,7 @@ services: EVENT_MONITOR_LATENCY: ${EVENT_MONITOR_LATENCY:-[]} #pipelineServiceClientConfiguration + PIPELINE_SERVICE_CLIENT_ENABLED: ${PIPELINE_SERVICE_CLIENT_ENABLED:-true} PIPELINE_SERVICE_CLIENT_CLASS_NAME: ${PIPELINE_SERVICE_CLIENT_CLASS_NAME:-"org.openmetadata.service.clients.pipeline.airflow.AirflowRESTClient"} PIPELINE_SERVICE_IP_INFO_ENABLED: ${PIPELINE_SERVICE_IP_INFO_ENABLED:-false} PIPELINE_SERVICE_CLIENT_HOST_IP: ${PIPELINE_SERVICE_CLIENT_HOST_IP:-""} @@ -315,8 +315,7 @@ services: OM_URI: ${OM_URI:- "http://localhost:8585"} #extensionConfiguration - OM_RESOURCE_PACKAGES: ${OM_RESOURCE_PACKAGES:-[]} - OM_EXTENSIONS: ${OM_EXTENSIONS:-[]} + MIGRATION_EXTENSION_PATH: ${MIGRATION_EXTENSION_PATH:-""} # Heap OPTS Configurations