在Docker-Compose上运行的气流中显示管理员配置
有人知道如何在用Docker-Compose运行的气流UI中解除管理admin>的配置吗? 当我尝试打开它时,它将显示“#您的气流管理员选择不暴露配置,这很可能是出于安全原因。”
Does anybody know how to unblock admin>configuration in UI of airflow which is running with docker-compose?
When I try to open it it shows '# Your Airflow administrator chose not to expose the configuration, most likely for security reasons.'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
设置环境变量
airflow__weberver__expose_config = true
。Set an environment variable
AIRFLOW__WEBSERVER__EXPOSE_CONFIG=True
.在AirFlow 2.4.3中,在
[WebServer]
airflow.cfg
的部分中,从默认的false更改属性
/code> <代码> true 或expose_config
expose_config非敏感 - 仅
,具体取决于您想向UI用户暴露的内容:In Airflow 2.4.3, in the
[webserver]
section ofairflow.cfg
, change the propertyexpose_config
from the defaultFalse
toTrue
ornon-sensitive- only
, depending on what you want to expose to the UI users: