最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

docker compose - Cannot find Oracle connection in Apache Airflow UI - Stack Overflow

programmeradmin0浏览0评论

I am using Docker Compose to run Apache Airflow on Ubuntu 22.04. I downloaded the docker-compose.yaml file from the Airflow website(.10.5/docker-compose.yaml). The setup runs successfully, and I can access the Airflow UI.

I need to connect Airflow to an Oracle database. However, when I navigate to Airflow UI → Admin → Connections to add a new connection, Oracle does not appear in the connection type dropdown list.

Questions:

How can I enable Oracle as a connection type in the Airflow UI? Is it possible to add an Oracle connection using the Airflow CLI? If so, how can I do it? I am currently using Airflow 2.10.5 as the image version.

Thanks!

I am using Docker Compose to run Apache Airflow on Ubuntu 22.04. I downloaded the docker-compose.yaml file from the Airflow website(https://airflow.apache./docs/apache-airflow/2.10.5/docker-compose.yaml). The setup runs successfully, and I can access the Airflow UI.

I need to connect Airflow to an Oracle database. However, when I navigate to Airflow UI → Admin → Connections to add a new connection, Oracle does not appear in the connection type dropdown list.

Questions:

How can I enable Oracle as a connection type in the Airflow UI? Is it possible to add an Oracle connection using the Airflow CLI? If so, how can I do it? I am currently using Airflow 2.10.5 as the image version.

Thanks!

Share Improve this question asked Feb 21 at 2:52 maantarngmaantarng 1791 gold badge4 silver badges17 bronze badges 2
  • Did you install the Oracle provider: airflow.apache./docs/apache-airflow-providers-oracle/stable/… – Christopher Jones Commented Feb 21 at 21:11
  • Yes. After I install the Oracle provider using pip, and restart the container, I can see the Oracle connection type in the airflow UI. Thanks! – maantarng Commented Feb 24 at 1:23
Add a comment  | 

1 Answer 1

Reset to default 2

Install the Oracle Provider using the instructions https://airflow.apache./docs/apache-airflow-providers-oracle/stable/index.html:

pip install apache-airflow-providers-oracle[common.sql]
发布评论

评论列表(0)

  1. 暂无评论