Run docker-compose environment with network_mode=host with external database. #35193
Unanswered
husseljoo
asked this question in
Connector Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I want to run all container services in the docker-compose.yaml in network_mode=host.
And I want to connect to an external database.
I followed this guide (https://docs.airbyte.com/operator-guides/configuring-airbyte-db) for the external database connection part.
The database starts successfully, and the system is ready to accept connections.
The database is up normally and the system is ready to accept connections
Here is the compose file I modified:
Here are the modified env files:
I face the following errors:
And subsqeuently:
Moreover, the airbyte-cron service gives this error:
I'm not sure why that is the case, as I relplaced every service name with "localhost".
I fear this may be hardcoded in the Dockerfile.
Lastly is there a way to get the source Dockerfiles for each container image.
Are there any specific configurations I need to adjust in the Airbyte docker-compose.yaml file for the host network mode?
Beta Was this translation helpful? Give feedback.
All reactions