Skip to content

added a guide for Dockerized Vue.js application #22776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

kristiyan-velkov
Copy link
Contributor

This PR delivers a Vue.js focused guide for containerizing applications using Docker, aimed at streamlining development, testing, and deployment workflows. It follows modern DevOps practices and includes a complete CI/CD setup using GitHub Actions.

What's Included

  • Step-by-step Docker setup for Vue.js applications
  • Local development configuration using Docker Compose
  • Running unit tests (Vitest) inside Docker containers
  • CI/CD pipeline using GitHub Actions for automated builds and deployments
  • Deployment instructions for a local Kubernetes cluster to validate production readiness
  • [fix] for Angular develop docker file.

Credits
Kristiyan Velkov, Docker Captain and experienced Front-end Engineer

CC: @craig-osterhout, @igor-alexandrov, @ajeetraina

Copy link

netlify bot commented Jun 5, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 38aff92
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/686cdd6bdb8217000833b91d
😎 Deploy Preview https://deploy-preview-22776--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@kristiyan-velkov kristiyan-velkov requested a review from eunomie June 12, 2025 12:28
@rw4lll
Copy link
Contributor

rw4lll commented Jun 15, 2025

Hi @kristiyan-velkov, great guide! I was wondering if there’s an example app repository that goes along with it? Usually, Docker guides come with something to clone and run — like in https://docs.docker.com/guides/tensorflowjs/ or https://docs.docker.com/guides/language-translation/ from the AI section provided by Harsh. Would be great to try it out hands-on! 🙂

@kristiyan-velkov
Copy link
Contributor Author

Hi @kristiyan-velkov, great guide! I was wondering if there’s an example app repository that goes along with it? Usually, Docker guides come with something to clone and run — like in https://docs.docker.com/guides/tensorflowjs/ or https://docs.docker.com/guides/language-translation/ from the AI section provided by Harsh. Would be great to try it out hands-on! 🙂

Hi! Thanks a lot — I really appreciate the kind words.
Yes, I provide a sample app repository that goes along with the guide. You can clone and run it to try things out hands-on. Let me know if you run into any issues or want to see more examples!

Here’s the repo: https://github.com/kristiyan-velkov/docker-vuejs-sample

Happy coding! 🚀

Copy link
Contributor

@brandonh6k brandonh6k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still going through the guide, but made some comments on stuff I've noticed so far.

@kristiyan-velkov
Copy link
Contributor Author

@eunomie, when you have a moment, feel free to add any additional comments or suggestions for improvement. Otherwise, if everything looks good to you, please go ahead and click Approve.

Copy link
Contributor

@brandonh6k brandonh6k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More random comments. Sorry this is taking so long. I'm trying to get through it. LOL

@kristiyan-velkov
Copy link
Contributor Author

More random comments. Sorry this is taking so long. I'm trying to get through it. LOL

@brandonh6k , all of the comments was so relevant and good, thank you! Could you please review again ?

Copy link
Contributor

@brandonh6k brandonh6k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good now. :shipit:

@rw4lll
Copy link
Contributor

rw4lll commented Jul 12, 2025

@kristiyan-velkov great guide! LGTM.
I have a few minor concerns about the example app. I’ve cloned it and tried running the wizard, but it didn’t seem to work. I think it would be really helpful if we could clone the final example with all the Docker and Compose files in place, optimized for Vue.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants