I reread the documentation. The problem was in typing postgresql (instead of postgres) and quotes inserted in url. The correct env is AIRFLOW_CONN_DB=postgres://postgres:[email protected]:6099/db
AIRFLOW_CONN_DB=postgres://postgres:[email protected]:6099/db