-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to keep Airflow Variables when restarting the docker image? #636
Comments
Have you tried committing the changes to the docker image and then referencing the committed image in the yaml file? |
@jha929 @foxviii hi there, hopefully still in time I dealt with this issue creating a makefile which loads vars copied during build time OR added via docker cp / volumes. Vars could be loaded running
|
In Airflow UI, I created airflow variables via
Admin > Variables > Create
.However, every time I restart the docker image, the airflow variables set are disappeared.
So I need to re-create all the variables I created, which is somewhat annoying.
Is there a way to keep those variables (make it non-volatile) so that I can use them even in restarting the docker image?
The text was updated successfully, but these errors were encountered: