Configuration items that are manually added to the environment file (.env) are removed if the web interface GUI is used to make changes to any settings that trigger rewriting the .env file.
Settings to recreate:
- Manually edit the .env file and add a manual edit setting (such as 'DISABLE_TELEMETRY="true"'.
- Restart the Docker container so the change is picked up by the running container.
- Go into a settings and make a change that requires saving the change back to the .env file.
- Manually edit the .env file and your manually added setting is gone.
This most likely happens for any of the manually added settings (disabling telemetry, password complexity, enabling HTTPS support, etc.). I've tested/confirmed it for telemetry.
Two suggested approaches:
- Check for and re-write those settings out if set.
- Add those settings in the GUI so they are naturally re-written out when the file is updated.