Websoft9 / docker-library

Docker Compose examples of selfhosted FOSS based on official image, just run it.
https://www.websoft9.com
Other
33 stars 18 forks source link

complete docker compose for [Apache Airflow] #340

Open chendelin1982 opened 1 year ago

chendelin1982 commented 1 year ago

What type of your feature request?

Do you have Clear solution

Discribe you solution here:

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

zhaojing1987 commented 2 weeks ago

官方文档:Running Airflow in Docker

airflow-init 容器用于进行初始化,会进行资源检测,要求: 内存:至少4G CPU核心:至少2个 磁盘空间:至少10G

为了安装时的权限,需要在.env 中设置AIRFLOW_UID,在linux下:

AIRFLOW_UID=0   # root用户

或者使用 :echo -e "AIRFLOW_UID=$(id -u)" > .env tips:这里在测试的时候没有设置这个环境变量,容器一直处于健康检查状态

结合官方的docker compose ,经过测试可以安装和启动成功,只要进行Websoft9的docker-library改造即可