Skip to content

A base Docker image for adding Litestream to apps

Notifications You must be signed in to change notification settings

fly-apps/litestream-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Litestream Base

Add this to an existing Dockerfile as a stage:

FROM flyio/litestream-base as litestream

Then, add these lines to the final stage:

## near the top of your dockerfile
COPY --from=litestream /litestream /litestream


# Replace your CMD with the litestream wrapper command

CMD [ "/litestream/start.sh" , "<your-CMD>"]

About

A base Docker image for adding Litestream to apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages