From 196cbd51dfd873554d97a636af284da032c06f9c Mon Sep 17 00:00:00 2001 From: Davin Chia Date: Thu, 29 Jul 2021 17:06:48 +0800 Subject: [PATCH] Add worker env to docker deploy to silence any logs about picking default values. (#5068) --- .env | 2 ++ docker-compose.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.env b/.env index b032ae8c4098..bb066159d740 100644 --- a/.env +++ b/.env @@ -47,6 +47,8 @@ API_URL=/api/v1/ INTERNAL_API_HOST=airbyte-server:8001 LOG_LEVEL=INFO +WORKER_ENVIRONMENT=docker + # Cloud log backups. Don't use this unless you know what you're doing. Mainly for Airbyte devs. # If you just want to capture Docker logs, you probably want to use something like this instead: # https://docs.docker.com/config/containers/logging/configure/ diff --git a/docker-compose.yaml b/docker-compose.yaml index 297c01d2b6c4..e21cf964d3f8 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -57,6 +57,7 @@ services: - AIRBYTE_VERSION=${VERSION} - AIRBYTE_ROLE=${AIRBYTE_ROLE:-} - TEMPORAL_HOST=${TEMPORAL_HOST} + - WORKER_ENVIRONMENT=${WORKER_ENVIRONMENT} - S3_LOG_BUCKET=${S3_LOG_BUCKET} - S3_LOG_BUCKET_REGION=${S3_LOG_BUCKET_REGION} - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} @@ -92,6 +93,7 @@ services: - AIRBYTE_VERSION=${VERSION} - AIRBYTE_ROLE=${AIRBYTE_ROLE:-} - TEMPORAL_HOST=${TEMPORAL_HOST} + - WORKER_ENVIRONMENT=${WORKER_ENVIRONMENT} - S3_LOG_BUCKET=${S3_LOG_BUCKET} - S3_LOG_BUCKET_REGION=${S3_LOG_BUCKET_REGION} - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}