I am running Astronomer CLI version 0.28.1 (hosted on a VM on GCP) and would like to set-up an external database backend for Airflow. The external DB is Cloud SQL (Postgres hosted on GCP), accessible through public IP from my VM.
So far, I have added the following line in my
.env file (public IP of the DB masked):
I also ran
astro dev stop and
astro dev start --env .env. However, when I log on the scheduler container (using
docker exec -it), I always see the variable unchanged as below:
I also see that the Postgres container as running when starting Astro (instead of using my DB on GCP). Any idea of what is causing this issue?