Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify litestream's stability in Docker volume-like setups (over network, or not) #624

Open
vanschelven opened this issue Jan 7, 2025 · 0 comments

Comments

@vanschelven
Copy link

Litestream recommends running as a sidecar in Docker, which means exposing the same DB to multiple containers. But is this really supported? I previously researched such a setup, and arrived at the sqlite forum... key quotes:

Question:

I think VM/docker volumes do not work with WAL mode for the same reasons as WAL mode not working on network disks (guess: two OS's do not know about each others locks).

Part of the answer

Docker is like a dory (a wee little row boat) that has a hole in the bottom. It matters not whether you put your dory on the Ocean or a Lake, or even in the toilet. Water will still perculate up through the holes and drown you.

Did I allow myself to get too scared by those quotes? What are the implications for litestream?


I arrived here not as a (current) litestream user but as someone who has a strong interest in running a similar setup. I apologize if opening an issue for this was not the way to go forward, I'm happy to take the discussion to a different location if that's more appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant