Splits scheduler into 4 submodules: * airbyte-scheduler:app - this is the "scheduler". the thing that runs and schedules work. (no other module should depend on this one.) *airbyte-scheduler:client - this is the module that anything that needs to submit work to the schedule should depend on. (any module is allowed to depend on this one.) * airbyte-scheduler:models - pojos / structs that are used as part of interfaces across modules (both internal and external to the scheduler). (any module is allowed to depend on this one.) * airbyte-scheduler:persistence - code for interacting with the underlying scheduler persistence (database). since the client and main interact via writing to the database both the client and main depend on this. (right now anything that invokes the scheduler client also depends on this unfortunately because the client requires the database to be instantiated. ideally this would only be depended upon by the app (and a server if we ever had one))
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
init:
|
|
image: airbyte/init:${VERSION}
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: airbyte-config/init
|
|
labels:
|
|
io.airbyte.git-revision: ${GIT_REVISION}
|
|
db:
|
|
image: airbyte/db:${VERSION}
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: airbyte-db
|
|
labels:
|
|
io.airbyte.git-revision: ${GIT_REVISION}
|
|
seed:
|
|
image: airbyte/seed:${VERSION}
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: airbyte-config/init
|
|
labels:
|
|
io.airbyte.git-revision: ${GIT_REVISION}
|
|
scheduler:
|
|
image: airbyte/scheduler:${VERSION}
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: airbyte-scheduler/app
|
|
labels:
|
|
io.airbyte.git-revision: ${GIT_REVISION}
|
|
server:
|
|
image: airbyte/server:${VERSION}
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: airbyte-server
|
|
labels:
|
|
io.airbyte.git-revision: ${GIT_REVISION}
|
|
webapp:
|
|
image: airbyte/webapp:${VERSION}
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: airbyte-webapp
|
|
labels:
|
|
io.airbyte.git-revision: ${GIT_REVISION}
|
|
migration:
|
|
image: airbyte/migration:${VERSION}
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: airbyte-migration
|
|
labels:
|
|
io.airbyte.git-revision: ${GIT_REVISION}
|