Docker container for your fullstack NextJS project
HTML-код
- Опубликовано: 25 окт 2022
- Come watch and learn how to build a NextJS "Hello World" app and create a Docker container!
Building a fullstack app with NextJS is great but deploying it is even better! By containerising your app into a Docker container, it makes it highly portable and deployable (for example, Kubernetes).
Get started with Open Source in 10mins
• How to contribute to o...
LEARN MORE
JOIN our inclusive open source community EddieHub now for FREE ... eddiehub.org, also checkout my website and sign up to our community NEWSLETTER... eddiejaoude.io for my live stream + video schedule and community calls
Also join our community GitHub organisation by creating an issue with the type "invite me to the organisation" :)
I now have a 2nd RUclips channel for short video clips of 60s or less, subscribe ...
/ eddiejaoudetv
SERVICES I USE AND RECOMMEND
Some of these might be affiliate links, no extra cost you to, but I get a little $ if you sign up, plus you might get a discount too
- Live streaming with Streamyard links.eddiejaoude.io/t/pYlzGjc...
- Cloud hosting with Digital Ocean, you will get $100 FREE credit links.eddiejaoude.io/t/EAaCRWh...
- Membership, Newsletters, CRM all in one with Kartra links.eddiejaoude.io/t/pQ5W3FR...
- Awesome backup platform, BackBlaze links.eddiejaoude.io/t/4rqTZjL...
- Descript for video editing, audiograms and transcription links.eddiejaoude.io/t/RlpGwZt...
- Riverside online recording studio for the best quality riverside.fm/?...
COMMUNITY SPONSORS
A BIG thank you to my GitHub Sponsors:
***
DailyDotDev github.com/dailydotdev
Emma Wain github.com/ewainy
***
- Yona github.com/Yoname
- Santosh Yadav github.com/santoshyadavdev
FIND ME ON OTHER SOCIAL PLATFORMS
Don’t forget to support my channel by subscribing below, it’s free, and also share with your friends. Subscribe now!!
ruclips.net/user/eddiejaoude?s...
Follow on other socials for behind the scenes footage, join discord to continue the conversation...
eddiejaoude.io
github.com/eddiejaoude
/ eddiejaoude
/ eddiejaoude
/ eddiejaoude
/ eddiejaoude
/ discord
github.com/EddieHubCommunity
Docker container for your fullstack NextJS project Наука
Come and geek out with us in the open source community EddieHub eddiehub.org
Possibly off topic (or maybe not so much on a full stack video) :p. There are many Auth-as-a-Service options out there (Okta, Firebase, AWS Amplify etc). There's the open source Ory Kratos and Hydra products that I've recently heard of. Any opinions on it or any chance to check it out and review it in a future video?
@@karlotamayo3967 thank you for the suggestion. I prefer to not use these auth services, they make scaling and automated testing very difficult. I use NextAuth next-auth.js.org
Eddie's are the best
Amazing video, Eddie. The more I use Docker more I love it. Currently my favorite piece of tech.
Thanks Pradumna! Yeah Docker is awesome!
Amazing and straight to the point. Thank you!
thank you for the great feedback
Awesome explanation for a beginner overview perspective
Glad you liked it Niki
Amazing content. Thanks man
Thank you for the great feedback!
I just googled Docker and Next js and I found this video ahah!
It is a bit old now
Awesome as awlays thank you !
Thank you Plamen for the great feedback!
Thanks for your video... Great content
From my side images are not loaded on the website
How can I solve this?
Can we remove node_modules after creating a build? Would we be able to run the production build by npm run start?
Hi Eddie, Thanks for that video though. I like you to share how to compile Java Spring Boot and Next.JS into single JAR file and Dockerise it into a docker container..
Nice content!
Thanks for the great feedback
can you please do more indepth video, that include like the cache layer you mentioned
Sure, thank you for the great feedback and ideas!
Thank´s for the great video but I cannot get my Next JS app to work in my Docker. I just receiving "404 This page could not be found." from the container. I can share my code in a private mess if you can help :)
I have our docker running in a VM hosted by a Windows Server 2022. The VM is a Linux Ubuntu 22.04 Server (No gui).
Best regards Fredrik
does this mean i can do this and host nextJS outside vercel?
yes I don't host my NextJS projects on Vercel anymore either
Amazing. How to set enviroment variable, Eddie?
In NextJS you can set environment variables with nextjs.org/docs/basic-features/environment-variables
hello. how about the domain name and other stuff?
Excelent
thank you
Hi, very nice video :) but im counter a problem in "RUN npm install --production" process that said "ERROR: failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1" , how do i solve this ?
Thanks, liked and subscribed btw
Thank you! I am not sure, come and join us in EddieHub Discord and ask there, it will be easier to discuss discord.eddiehub.org
tell me how to include a database also
24 seconds bruh mine took 319 seconds lmao I almost rotted from waiting
does it take longer depending on the size of the project?
yes it will depend on a few things including the project size
there is a real bad static in the audio, thanks for the tutorial tho
yes sorry about that, it was a bad recording on that day
To much voice compression
Just learned email is not a good mode to connect with you. Will slack you if need help.
I get so many 000s of emails per day. Not sure which Slack you are referring to as I don't really use it. It is better to discuss in public ;)
Hello,
I was looking at your video channel. We may be helping a company that uses secure images to increase supply chain security and help cloud native development. Would you be willing to help try their software, make a video, and help show devs how to use their tools?
This is not an offer, but just to start a conversation about your willingness to take on sponsorship. Please provide me with your email if you are interested.
You'd have a chance to look at their technology and decide if it's the type of software that you'd be interested in covering in your channel.
Hello,
I was looking at your video channel. We may be helping a company that uses secure images to increase supply chain security and help cloud native development. Would you be willing to help try their software, make a video, and help show devs how to use their tools?
This is not an offer, but just to start a conversation about your willingness to take on sponsorship. Please provide me with your email if you are interested.
You'd have a chance to look at their technology and decide if it's the type of software that you'd be interested in covering in your channel.