You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @brunojus installing Airflow in MacOS/Windows sometimes can be more difficult. There are some issues/contributions to help users on that. Can you look #14231
Closing this as invalid. There is no information about how you are running this and what docker-compose you use. The Dockerfile is not supposed to create a database, docker image is only there to run the software.
If you have an external DB, you need to create airflow DB using some kind of init container. With Docker-compose you could create an init-service that could do it. There are examples in https://airflow.apache.org/docs/apache-airflow/stable/start/docker.html where you can see an example docker compose that uses external database and creates it for "production" settings where database is external and it initializes the DB and creates the admin user.
If you just want to use "sqlite" embeded database for a "really quick start" (not production - it's not supposed to be used in production) in the docker image you have the environment variable _AIRFLOW_DB_UPGRADE that you can use to create/upgrade the schema as described here: https://airflow.apache.org/docs/docker-stack/entrypoint.html#upgrading-airflow-db (also next chapters show you how to create the user) but this is really for "local development" purpose and it should never be used in production, that's why all those variables start with _ because they are dev-only.
I am getting the error below when I am running the Airflow with docker-compose in a Macos/Windows environment.
1
Apache Airflow version: 2.0.1
Environment:
The text was updated successfully, but these errors were encountered: