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

Prisma Litestream support #4137

Merged
merged 2 commits into from
Jan 6, 2025
Merged

Prisma Litestream support #4137

merged 2 commits into from
Jan 6, 2025

Conversation

rubys
Copy link
Contributor

@rubys rubys commented Dec 23, 2024

  • pre-select tigris is prisma sqlite3 is detected
  • add --litestream flag to dockerfile-node if tigris and sqlite3

* pre-select tigris is prisma sqlite3 is detected
* add --litestream flag to dockerfile-node if tigris and sqlite3
@rubys rubys marked this pull request as draft December 23, 2024 14:27
@rubys
Copy link
Contributor Author

rubys commented Dec 23, 2024

Depends on fly-apps/dockerfile-node@4e177f4 being released.

Example can be found here: https://github.com/fly-apps/dockerfile-node/tree/main/test/base/litestream

You can see this in action by building flyctl and pre-installing dockerfile-node from github:

npx try-prisma@latest --template orm/nextjs-api-routes
cd orm_nextjs-api-routes
npm install --save-dev fly-apps/dockerfile-node
~/path/flyctl/bin/flyctl launch

@rubys rubys requested a review from benbjohnson December 23, 2024 16:45
@rubys rubys marked this pull request as ready for review January 5, 2025 21:52
@rubys rubys merged commit f79ddf0 into master Jan 6, 2025
34 checks passed
@rubys rubys deleted the jsFramework-litestream branch January 6, 2025 13:26
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

Successfully merging this pull request may close these issues.

2 participants