Skip to content

Commit

Permalink
Add worker env to docker deploy to silence any logs about picking def…
Browse files Browse the repository at this point in the history
…ault values. (airbytehq#5068)
  • Loading branch information
davinchia authored Jul 29, 2021
1 parent 58e9f19 commit 196cbd5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 196cbd5

Please sign in to comment.