Open evoxmusic opened 2 years ago
As an enhancement, we could start by fixing this workaround I’ve made while developing the first version of the restore local command https://github.com/Qovery/Replibyte/blob/bd0604cebab381aa0378ccd83af30d3d97101b0b/replibyte/src/destination/docker.rs#L49
A better approach is to poll the container status to wait until he’s up and running.
ahhhhh yes indeed 😂
I was making some tests, and using replibyte to restore in local is quite slow.
It takes ~25s to run
replibyte -c strapi-v4.yaml dump restore local --image postgresql -v latest --port 8989
with a dump of 11kB.If I run the command with
-o
it is far fasterIt will be great to see how we can improve the docker starting time then :)