Can only display dashboards with time range of 1hr or less. Any range above 1hr fails

Hello All.
I installed grafana+prometheus in azure app service as a docker compose. I use volume for prometheus like

    volumes:
       - ${WEBAPP_STORAGE_HOME}/prometheus:/prometheus

Everything works fine near 3-4 hours and later I see the problem -

A
Status: 500. Message: execution: expanding series: block: 01HEFS3CZ2N044441P7VF96QSG: decode postings: invalid size

in graphs with time range above 1hr fails. I read discussing in Can only display dashboards with time range of 1hr or less. Any range above 1hr fails - Dashboards - Grafana Labs Community Forums but I do not understand how can I use other storage and what storage can I use.

Thank you. Best regards.