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

Refactor/prisma docker #17

Merged
merged 15 commits into from
Oct 26, 2023
Merged

Refactor/prisma docker #17

merged 15 commits into from
Oct 26, 2023

Conversation

JohanHjelsethStorstad
Copy link
Member

prisma now has its own container to run migrations and seeding. migrations for prod not yet implemented.

Also made changes to Docker in general. added volumes in development to be able to migrate and generate in containers when schema changes, as well as adding a volume for package and package-lock.json to be able to install new modules inside container in dev

@Paulijuz
Copy link
Member

Looks nice. Managed to start everything. Saw that you started seed.js manually so i added the seed.js to the prisma config (in package.json) so that it can be used with the prisma cli.

@Paulijuz Paulijuz merged commit 67f23c8 into main Oct 26, 2023
2 checks passed
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.

3 participants