mohammed-bahumaish / prisma-editor

Prisma Editor - A powerful tool to visualize and edit Prisma Schema.
https://prisma-editor.vercel.app
844 stars 65 forks source link

[FR] Make dockerfile start straight and independent of a bunch of external APIs #11

Open matbgn opened 1 year ago

matbgn commented 1 year ago

Remove mandatory dependence to following APIs:

DATABASE_URL: Use sqlite3 if none is provided NEXTAUTH_SECRET: Run nextauth locally, e.g. with docker-compose or bypass it completely NEXTAUTH_URL: Run nextauth locally, e.g. with docker-compose or bypass it completely OPEN_AI_API_KEY: Disable AI if not provided GITHUB_CLIENT_ID: Get rid of this GITHUB_CLIENT_SECRET: Get rid of this

Steps done so far

docker build . -t prisma-editor/matbgn:0.0.0
docker run -p 3000:3000 --name prisma-editor prisma-editor/matbgn:0.0.0

Side notes

mohammed-bahumaish commented 1 year ago

@matbgn Please go ahead and make a PR, I'm happy to see a contributor :)

matbgn commented 1 year ago

Was meaning for the doc ;-) For the rest, but depending on your future plans, you will be way more effective