Hi, I am using this link like a guide:
https://github.com/dagster-io/dagster/blob/1.0.8/examples/deploy_docker/docker-compose.yml
I am trying to integrate Airbyte, so....I took the docker-compose.yaml from the airbyte github and I put it on my folder together with my other compose file
https://github.com/airbytehq/airbyte/blob/v0.40.3/docker-compose.yaml
So... in this moment I have 2 docker compose files: "docker-compose.yml" and "docker-compose.airbyte.yml". I run this command:
docker-compose -f docker-compose.yml -f docker-compose.airbyte.yml up --build
Everything is built and created correctly. I am using the "airbyte_resource" from "dagster_airbyte". On my env variables I pass the client airbyte host in this way:
AIRBYTE_CLIENT_HOST=airbyte-webapp
AIRBYTE_CLIENT_PORT=8000
I have a sensor that is calling a job with a unique operation:
@job(
resource_defs={
"airbyte": airbyte_resource
}
)
def main():
airbyte_sync_op()
So .. the problem is when the sensor triggers my job I can not reach the airbyte api
List of things that I have tried:
- Join all the services from dasgter and airbyte in a unique network
- Expose the port 8000 on webapp service
- use like host: "airbyte-webapp", "webapp", "airbyte-server"
- use ports like: 8000 or 8001
does anyone has any idea what is happening. ? who is supposed to have access to the airbyte api ?? "docker_example_user_code" , "docker_example_dagit", "docker_example_daemon"???
I assume that I have some problem with docker configuration ... but I have tried everything.