How to persist data on web UI even if the container restarts

I had similar issue, resolved using