Skip to content

Commit

Permalink
Docker Extension 0.1.4 for Airbyte v40 (#297)
Browse files Browse the repository at this point in the history
Updated the docker composes with the latest Airbyte v0.40.9 env vars
  • Loading branch information
thomas-gerber committed May 20, 2023
1 parent 006abdb commit c45dbee
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 212 deletions.
177 changes: 0 additions & 177 deletions docker-extension/.env

This file was deleted.

2 changes: 1 addition & 1 deletion docker-extension/Makefile
Expand Up @@ -18,7 +18,7 @@ update-extension: build-extension ## Update the extension
prepare-buildx: ## Create buildx builder for multi-arch build, if not exists
docker buildx inspect $(BUILDER) || docker buildx create --name=$(BUILDER) --driver=docker-container --driver-opt=network=host

push-extension: prepare-buildx ## Build & Upload extension image to hub. Do not push if tag already exists: make push-extension tag=0.1
push-extension: prepare-buildx ## Build & Upload extension image to hub. Do not push if tag already exists: make push-extension TAG=0.1
docker pull $(IMAGE):$(TAG) && echo "Failure: Tag already exists" || docker buildx build --push --builder=$(BUILDER) --platform=linux/amd64,linux/arm64 --build-arg TAG=$(TAG) --tag=$(IMAGE):$(TAG) .

help: ## Show this help
Expand Down
57 changes: 41 additions & 16 deletions docker-extension/docker-compose_amd64.yaml
Expand Up @@ -51,10 +51,10 @@ services:
retries: 5

# Airbyte
# Source: https://github.com/airbytehq/airbyte/blob/v0.39.37-alpha/docker-compose.yaml
# Source: https://github.com/airbytehq/airbyte/blob/v0.40.9/docker-compose.yaml
#https://github.com/compose-spec/compose-spec/blob/master/spec.md#using-extensions-as-fragments
init:
image: airbyte/init:0.39.37-alpha
image: airbyte/init:0.40.9
logging: *default-logging
container_name: init
restart: "no"
Expand All @@ -67,15 +67,15 @@ services:
volumes:
- tmp:/local_parent
bootloader:
image: airbyte/bootloader:0.39.37-alpha
image: airbyte/bootloader:0.40.9
logging: *default-logging
container_name: airbyte-bootloader
restart: "no"
depends_on:
- faros-db
entrypoint: /bin/sh -c "airbyte-bootloader-0.39.37-alpha/bin/airbyte-bootloader && tail -f /dev/null"
entrypoint: /bin/sh -c "airbyte-bootloader-0.40.9/bin/airbyte-bootloader && tail -f /dev/null"
environment:
- AIRBYTE_VERSION=0.39.37-alpha
- AIRBYTE_VERSION=0.40.9
- CONFIG_DATABASE_PASSWORD=
- CONFIG_DATABASE_URL=
- CONFIG_DATABASE_USER=
Expand All @@ -85,7 +85,7 @@ services:
- LOG_LEVEL=INFO
- RUN_DATABASE_MIGRATION_ON_STARTUP=true
faros-db:
image: airbyte/db:0.39.37-alpha
image: airbyte/db:0.40.9
logging: *default-logging
container_name: airbyte-db
restart: unless-stopped
Expand All @@ -103,14 +103,14 @@ services:
ports:
- 5432:5432
worker:
image: airbyte/worker:0.39.37-alpha
image: airbyte/worker:0.40.9
logging: *default-logging
container_name: airbyte-worker
restart: unless-stopped
depends_on:
- faros-db
environment:
- AIRBYTE_VERSION=0.39.37-alpha
- AIRBYTE_VERSION=0.40.9
- AUTO_DISABLE_FAILING_CONNECTIONS=false
- CONFIG_DATABASE_PASSWORD=
- CONFIG_DATABASE_URL=
Expand All @@ -121,6 +121,7 @@ services:
- DATABASE_URL=jdbc:postgresql://faros-db:5432/airbyte
- DATABASE_USER=docker
- DEPLOYMENT_MODE=
- INTERNAL_API_HOST=airbyte-server:8001
- JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION=0.29.15.001
- JOB_MAIN_CONTAINER_CPU_LIMIT
- JOB_MAIN_CONTAINER_CPU_REQUEST
Expand All @@ -129,10 +130,15 @@ services:
- LOCAL_DOCKER_MOUNT=/tmp/airbyte_local
- LOCAL_ROOT=/tmp/airbyte_local
- LOG_LEVEL=INFO
- LOG_CONNECTOR_MESSAGES=
- MAX_CHECK_WORKERS=5
- MAX_DISCOVER_WORKERS=5
- MAX_SPEC_WORKERS=5
- MAX_SYNC_WORKERS=5
- NORMALIZATION_JOB_MAIN_CONTAINER_MEMORY_LIMIT=
- NORMALIZATION_JOB_MAIN_CONTAINER_MEMORY_REQUEST=
- NORMALIZATION_JOB_MAIN_CONTAINER_CPU_LIMIT=
- NORMALIZATION_JOB_MAIN_CONTAINER_CPU_REQUEST=
- SECRET_PERSISTENCE=NONE
- SYNC_JOB_MAX_ATTEMPTS=1
- SYNC_JOB_MAX_TIMEOUT_DAYS=1
Expand All @@ -150,21 +156,24 @@ services:
- ACTIVITY_INITIAL_DELAY_BETWEEN_ATTEMPTS_SECONDS=
- ACTIVITY_MAX_DELAY_BETWEEN_ATTEMPTS_SECONDS=
- WORKFLOW_FAILURE_RESTART_DELAY_SECONDS=
- USE_STREAM_CAPABLE_STATE=false
- USE_STREAM_CAPABLE_STATE=true
- MICRONAUT_ENVIRONMENTS=control
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- workspace:/tmp/workspace
- tmp:/tmp/airbyte_local
ports:
- 9000:9000
server:
image: airbyte/server:0.39.37-alpha
image: airbyte/server:0.40.9
logging: *default-logging
container_name: airbyte-server
depends_on:
- faros-db
restart: unless-stopped
environment:
- AIRBYTE_ROLE=
- AIRBYTE_VERSION=0.39.37-alpha
- AIRBYTE_VERSION=0.40.9
- CONFIG_DATABASE_PASSWORD=
- CONFIG_DATABASE_URL=
- CONFIG_DATABASE_USER=
Expand All @@ -183,6 +192,8 @@ services:
- SECRET_PERSISTENCE=NONE
- TEMPORAL_HOST=airbyte-temporal:7233
- TRACKING_STRATEGY=logging
- JOB_ERROR_REPORTING_STRATEGY=
- JOB_ERROR_REPORTING_SENTRY_DSN=
- WEBAPP_URL=http://localhost:8000/
- WORKER_ENVIRONMENT=docker
- WORKSPACE_ROOT=/tmp/workspace
Expand All @@ -193,19 +204,17 @@ services:
- data:/data
- tmp:/tmp/airbyte_local
webapp:
image: airbyte/webapp:0.39.37-alpha
image: airbyte/webapp:0.40.9
logging: *default-logging
container_name: airbyte-webapp
restart: unless-stopped
ports:
- 8000:80
environment:
- AIRBYTE_ROLE=
- AIRBYTE_VERSION=0.39.37-alpha
- AIRBYTE_VERSION=0.40.9
- API_URL=/api/v1/
- FULLSTORY=
- INTERNAL_API_HOST=airbyte-server:8001
- IS_DEMO=
- OPENREPLAY=
- PAPERCUPS_STORYTIME=disabled
- TRACKING_STRATEGY=logging
Expand All @@ -215,7 +224,7 @@ services:
- worker
- airbyte-temporal
airbyte-temporal:
image: airbyte/temporal:0.39.37-alpha
image: airbyte/temporal:0.40.9
logging: *default-logging
container_name: airbyte-temporal
restart: unless-stopped
Expand All @@ -231,6 +240,22 @@ services:
- POSTGRES_USER=docker
volumes:
- tmp:/etc/temporal/config/dynamicconfig
airbyte-cron:
image: airbyte/cron:0.40.9
logging: *default-logging
container_name: airbyte-cron
restart: unless-stopped
environment:
- DB=postgresql
- DB_PORT=5432
- LOG_LEVEL=INFO
- POSTGRES_PWD=docker
- POSTGRES_SEEDS=faros-db
- POSTGRES_USER=docker
- TEMPORAL_HISTORY_RETENTION_IN_DAYS=
- WORKSPACE_ROOT=/tmp/workspace
volumes:
- workspace:/tmp/workspace

# Other services
hasura:
Expand Down

0 comments on commit c45dbee

Please sign in to comment.