Skip to content

quickbeard/next-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web App

Just a hodgepodge web app with TypeScript and Next.js

Docker

export NEXT_PUBLIC_PAYPAL_CLIENT_ID=<YOUR_PAYPAL_CLIENT_ID> DATABASE_URL=<YOUR_DATABASE_URL> NEXTAUTH_SECRET=<YOUR_NEXTAUTH_SECRET> NEXTAUTH_URL=http://localhost:3000 AUTH0_ISSUER_BASE_URL=<YOUR_AUTH0_ISSUER_BASE_URL> AUTH0_CLIENT_ID=<YOUR_AUTH0_CLIENT_ID> AUTH0_CLIENT_SECRET=<YOUR_AUTH0_CLIENT_SECRET>

docker build -t next-app:$(git rev-parse --short=6 HEAD) --build-arg NEXT_PUBLIC_PAYPAL_CLIENT_ID=${NEXT_PUBLIC_PAYPAL_CLIENT_ID} .

docker run --name next-app -p 3000:3000 -e DATABASE_URL=${DATABASE_URL} -e NEXTAUTH_SECRET=${NEXTAUTH_SECRET} -e NEXTAUTH_URL=http://localhost:3000 -e AUTH0_ISSUER_BASE_URL=${AUTH0_ISSUER_BASE_URL} -e AUTH0_CLIENT_ID=${AUTH0_CLIENT_ID} -e AUTH0_CLIENT_SECRET=${AUTH0_CLIENT_SECRET} next-app:$(git rev-parse --short=6 HEAD)

Docker Compose

docker compose up -d

About

Just a hodgepodge web app with TypeScript and Next.js 14

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published