Docker container for your fullstack NextJS project

Поділитися
Вставка
  • Опубліковано 20 сер 2024
  • 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 UA-cam 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.eddiejaou...
    - Cloud hosting with Digital Ocean, you will get $100 FREE credit links.eddiejaou...
    - Membership, Newsletters, CRM all in one with Kartra links.eddiejaou...
    - Awesome backup platform, BackBlaze links.eddiejaou...
    - Descript for video editing, audiograms and transcription links.eddiejaou...
    - Riverside online recording studio for the best quality riverside.fm/?...
    COMMUNITY SPONSORS
    A BIG thank you to my GitHub Sponsors:
    ***
    DailyDotDev github.com/dai...
    Emma Wain github.com/ewainy
    ***
    - Yona github.com/Yoname
    - Santosh Yadav github.com/san...
    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!!
    www.youtube.co...
    Follow on other socials for behind the scenes footage, join discord to continue the conversation...
    eddiejaoude.io
    github.com/edd...
    / eddiejaoude
    / eddiejaoude
    / eddiejaoude
    / eddiejaoude
    / discord
    github.com/Eddi...
    Docker container for your fullstack NextJS project

КОМЕНТАРІ • 43

  • @eddiejaoude
    @eddiejaoude  Рік тому +1

    Come and geek out with us in the open source community EddieHub eddiehub.org

    • @karlotamayo3967
      @karlotamayo3967 Рік тому +1

      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?

    • @eddiejaoude
      @eddiejaoude  Рік тому

      @@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

    • @EddieKMusic
      @EddieKMusic Рік тому +1

      Eddie's are the best

  • @pradumnasaraf
    @pradumnasaraf Рік тому +1

    Amazing video, Eddie. The more I use Docker more I love it. Currently my favorite piece of tech.

    • @eddiejaoude
      @eddiejaoude  Рік тому

      Thanks Pradumna! Yeah Docker is awesome!

  • @francescociulla
    @francescociulla 8 місяців тому +1

    I just googled Docker and Next js and I found this video ahah!

  • @niki5223
    @niki5223 9 місяців тому +2

    Awesome explanation for a beginner overview perspective

  • @mukulrana1616
    @mukulrana1616 5 місяців тому +1

    Amazing and straight to the point. Thank you!

    • @eddiejaoude
      @eddiejaoude  5 місяців тому

      thank you for the great feedback

  • @abrahamolatubosun4289
    @abrahamolatubosun4289 3 місяці тому

    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..

  • @fatihbatu5388
    @fatihbatu5388 Рік тому +2

    Amazing content. Thanks man

  • @dgcp354
    @dgcp354 Рік тому +3

    can you please do more indepth video, that include like the cache layer you mentioned

    • @eddiejaoude
      @eddiejaoude  Рік тому

      Sure, thank you for the great feedback and ideas!

  • @plamenmitev559
    @plamenmitev559 Рік тому +2

    Awesome as awlays thank you !

    • @eddiejaoude
      @eddiejaoude  Рік тому

      Thank you Plamen for the great feedback!

  • @qwerty-or1yg
    @qwerty-or1yg 18 днів тому +1

    does this mean i can do this and host nextJS outside vercel?

    • @eddiejaoude
      @eddiejaoude  18 днів тому

      yes I don't host my NextJS projects on Vercel anymore either

  • @classicalmusicguru
    @classicalmusicguru 5 місяців тому +1

    Nice content!

    • @eddiejaoude
      @eddiejaoude  5 місяців тому

      Thanks for the great feedback

  • @chrisplacktor1992
    @chrisplacktor1992 Рік тому

    Thanks for your video... Great content
    From my side images are not loaded on the website
    How can I solve this?

  • @narayankumar4099
    @narayankumar4099 8 місяців тому

    Can we remove node_modules after creating a build? Would we be able to run the production build by npm run start?

  • @diegovillafane6313
    @diegovillafane6313 5 місяців тому +1

    Excelent

  • @pragmaticAIdev
    @pragmaticAIdev 5 місяців тому +1

    there is a real bad static in the audio, thanks for the tutorial tho

    • @eddiejaoude
      @eddiejaoude  5 місяців тому

      yes sorry about that, it was a bad recording on that day

  • @yudianantha4549
    @yudianantha4549 4 місяці тому

    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

    • @eddiejaoude
      @eddiejaoude  4 місяці тому

      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

  • @nithin3476
    @nithin3476 Рік тому

    tell me how to include a database also

  • @greendsnow
    @greendsnow Рік тому

    hello. how about the domain name and other stuff?

  • @user-ki3xs5iu3p
    @user-ki3xs5iu3p 11 місяців тому

    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

  • @fachrurrazi95
    @fachrurrazi95 Рік тому

    Amazing. How to set enviroment variable, Eddie?

    • @eddiejaoude
      @eddiejaoude  Рік тому

      In NextJS you can set environment variables with nextjs.org/docs/basic-features/environment-variables

  • @luczztem
    @luczztem Рік тому

    24 seconds bruh mine took 319 seconds lmao I almost rotted from waiting
    does it take longer depending on the size of the project?

    • @eddiejaoude
      @eddiejaoude  Рік тому +1

      yes it will depend on a few things including the project size

  • @MLHAFAKOT
    @MLHAFAKOT 3 місяці тому

    To much voice compression

  • @akash-kumar737
    @akash-kumar737 Рік тому

    Just learned email is not a good mode to connect with you. Will slack you if need help.

    • @eddiejaoude
      @eddiejaoude  Рік тому

      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 ;)

  • @IleniaQuintero
    @IleniaQuintero Місяць тому

    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.

  • @IleniaQuintero
    @IleniaQuintero Місяць тому

    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.