recorder is enabled by default. however, when you are using docker it might be possible that the default file data base (it’s folder) is not mapped to a persistent location outside the container (resp. in the host file system).
however, I really do not know much about all this docker related stuff. my recorder suggestion was just a shot into the blue. if I would be facing this problem I might just try to set up a relational data base like MySQL or PostgreSQL as a target for the recorder.
is the history of the values available after restart? like the graphs shown when you click a sensor entity?