The only command that you should need to start the application is docker compose up
.
Note that you have to install docker first.
Open http://localhost:3000 with your browser to see the result.
If you are using a windows machine open the start.sh
file with vscode. Click on the button on the bottom right of your screen marked with CRLF
. Now change the encoding of the file to LF
. After that you can run docker compose up
.
This sample builds on the nextjs-prisma-sample. It shows the very basics of what you need to get next-auth up and running with prisma and postgres in docker.