Skip to content
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

Reset FTL config values to default if they are not set in environment variables? #1422

Open
PromoFaux opened this issue Sep 1, 2023 · 0 comments
Labels

Comments

@PromoFaux
Copy link
Member

If you start the container with, for example, FTLCONF_debug_all: 'true', and then stop the container and remove that environment variable - debug.all will still be enabled in FTL.

As it stands, if you want to turn it off again you have to explicitly set FTLCONF_debug_all: 'false', which is far from ideal.

Perhaps we should add in some code that sets the FTL config to default on every container start, and applies any FTLCONF environment variables onto that.

This would mean though that any customisations made to this file in a volume mounted directory would be overwritten on every restart. Perhaps this is OK.

@PromoFaux PromoFaux added the v6 label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant