3 ms·
Are there any use cases/documentation about how litestream can be used within a docker based deployment? (Eg where systemctl wouldn't be used)
by indigodaddy 1y ago
Are there any use cases/documentation about how litestream can be used within a docker based deployment? (Eg where systemctl wouldn't be used)
- bccdee 1y agoYou'd probably want to put the sqlite db in a volume & run litestream in a separate container that restarts automatically on failure. Systemctl's only in there to restart it if it crashes; litestream itself is (iirc) a single cli binary.
- airblade 1y agoThis is documented on the Litestream website.
- simonw 1y agoHere's their docs on running in a Docker container: https://litestream.io/guides/docker/ https://litestream.io/guides/docker/