This may appear contradictory to the non programmer: “Boolean” I believe refers to a “1” or “0” value, but the text refers to “True” or “False”.
Interestingly, the Docker install on my openSuse Leap 15.5 made no complaint, but the fresh Docker, fresh grampsweb install on a fresh Pi4b, objected to my use of “False” as a value.
Flask is a Python package and when using a configuration file, the admissible boolean values are True and False.
Using environment variables it’s a bit different, since environment variables are always strings. From the Flask docs:
When adding a boolean value with the default JSON parsing, only “true” and “false”, lowercase, are valid values. Keep in mind that any non-empty string is considered True by Python.
Thanks for the reply. My comments are more from the perspective of someone attempting to follow guides to get a system operational.
The distinction, in this context, between using a “configuration file” and “Environment Variables” to set values of interest is unclear to me.
While it is clear values may be set in the configuration file, does not set the Environment Variables when read? When I check variables within a container, they appeared to reflect, exactly, what was in the configuration file.
Thanks. It seems quite complex, but it does allow me a bit better grasp of things. Since I’ve managed to get the email notification going, my immediate need is satisfied.