Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fly-apps/litestream-base
A base Docker image for adding Litestream to apps
https://github.com/fly-apps/litestream-base
Last synced: about 2 months ago
JSON representation
A base Docker image for adding Litestream to apps
- Host: GitHub
- URL: https://github.com/fly-apps/litestream-base
- Owner: fly-apps
- Created: 2022-04-02T23:52:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-02T23:57:46.000Z (over 2 years ago)
- Last Synced: 2024-07-10T07:51:56.242Z (2 months ago)
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 32
- Watchers: 9
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Litestream Base
Add this to an existing Dockerfile as a stage:
```Dockerfile
FROM flyio/litestream-base as litestream
```Then, add these lines to the final stage:
```Dockerfile
## near the top of your dockerfile
COPY --from=litestream /litestream /litestream# Replace your CMD with the litestream wrapper command
CMD [ "/litestream/start.sh" , ""]
```