Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Interest in Docker builds? #516

Open

Description

@kingcody

Label: Question, Feature

Recent deployment questions/issues related to generator-angular-fullstack have got me wondering what people are using to deploy their fullstack projects. I know Heroku and OpenShift are fairly popular options and are supported by the generator; however in our setups we typically package the applications in a VM or Linux container such as Docker.

We've really come to love using Docker here recently and the support/community is awesome. If you develop and or deploy with Linux, I'd highly recommend you check it out.

All that being said, I have fairly decent experience creating Dockerfiles and would not mind adding/supporting a generator-angular-fullstack Dockerfile for this project. Would that be something that users here would like to see? If there is enough interest I'll gladly put together a PR and the documentation on the various ways one might build/deploy a 'fullstack' docker image.

Activity

  1. thomporter commented on Sep 3, 2014

    @thomporter

    Currently I'm deploying a project created by this generator to a host that's using Phusion Passenger on top of Apache. It works quite well, and for anyone interested there's a decent tutorial on setting it up on Apache or Nginx or just standalone, here.

    But I've also had some experience with Docker, and I'd agree, it's freakin' awesome! I'd have to say 👍 to Docker support!

  2. kingcody commented on Sep 3, 2014

    @kingcody
    MemberAuthor

    @thomporter thats really cool. I've used nginx + passenger before, good stuff. On our VM cluster we use Puppet + garethr/docker to deploy application dockers from our private registry.

    However, recently I've been playing around with a small CoreOS cluster which uses etcd and fleet to deploy, monitor, and manage our docker applications; and I've gotta say, the setup shows some pretty powerful potential.

  3. kingcody commented on Sep 4, 2014

    @kingcody
    MemberAuthor

    On the topic of Docker deployment I'd like to share another project that I've been keeping my eye on: kubernetes.

    Kubernetes is an open source implementation of container cluster management.

    It can be used to manage and deploy your applications (in Docker containers) on GCE. Users of Microsoft's Azure cloud have support for the project as well.

  4. JaKXz commented on Sep 8, 2014

    @JaKXz
    Collaborator

    👍 this would be awesome, I've heard great things about Docker.

  5. mousetree commented on Sep 10, 2014

    @mousetree

    👍

  6. kingcody commented on Sep 14, 2014

    @kingcody
    MemberAuthor

    I've put together an automated nodejs, bower, and grunt runtime image to use with 'yeoman styled' projects, generator-angular-fullstack in particular. I based the image off of dockerfile/nodejs-bower-grunt which is also an automated build, which I've setup to trigger rebuilds of the runtime image on updates. The github repo for the runtime can be found here.

    I'm planning on using this image as a base for the Dockerfile that would be included with newly generated projects. If anyone would like to contribute to the project please feel free to open an issue or submit a pull request and we'll be happy to take a look.

    /cc @JaKXz @DaftMonk

  7. DaftMonk commented on Sep 21, 2014

    @DaftMonk
    Member

    👍 Sounds like an awesome idea.

  8. programming-kid commented on Jan 7, 2015

    @programming-kid

    i am facing problem installing yo on docker as docker containers runs as root and yo cannot be installed as root any help with this will be really appreciated

    thanks

  9. kingcody commented on Jan 8, 2015

    @kingcody
    MemberAuthor

    @programming-kid, why install yo in the container? Wouldn't it be easier to add your generated project code to a docker image?

    Have you by chance tried using the example Dockerfile in a generated project:

    FROM digitallyseamless/nodejs-bower-grunt-runtime

    You should just be able to run docker build -t myApp . and have a docker image of your project built and tagged as myApp.

  10. programming-kid commented on Jan 8, 2015

    @programming-kid

    oops my bad i started with docker yesterday i was using docker as vagrant perhaps i am missing something here
    i usually create different vagrant box for different project i was trying to do same with docker,

    perhaps you could guide me what is best way to use docker for different projects using fullstack-generator
    i wanted yo in docker as i wanted to deploy to heroku from docker container as using multiple heroku accounts on same machine (My dev Machine) is real big problem

  11. kingcody commented on Jan 8, 2015

    @kingcody
    MemberAuthor

    @programming-kid not a problem. I think that its really cool you're trying to learn some docker 😄

    Have you by chance checked out the usage section of our(Digitally Seamless) nodejs-bower-grunt-runtime image? Its pretty easy to create a docker image with a fullstack project and that runtime as your base, you just need the one-line Dockerfile and docker build (see usage for full details).

    Let me know if you need any help or additional usage info.

  12. programming-kid commented on Jan 8, 2015

    @programming-kid

    thanks @kingcody i will try it and let you know my experience

  13. jankareddi commented on Jan 9, 2015

    @jankareddi

    In my case, I had compass included. which called for a ruby dependency. I ended up having to include and compile ruby in the docker build process (my base is nodejs-bower-grunt). I have it working but is there a better option?

  14. kingcody commented on Jan 9, 2015

    @kingcody
    MemberAuthor

    @jankareddi adding ruby to the base image as a layer would be optimal. For the runtime we use, we have several feature branches that we use when we need additional dependencies. I'd be glad to add a ruby branch to repo so you can try that out.

    Of course you can make your own or use an existing one from the docker registry. Either way, I'll let you know when I get a ruby layer posted to our runtime.

  15. jankareddi commented on Jan 9, 2015

    @jankareddi

    thanks @kingcody.

  16. kingcody commented on Jan 9, 2015

    @kingcody
    MemberAuthor

    @jankareddi nodejs-bower-grunt-runtime:compass-support

    Let me know how that works out for you. If you have any problems please feel free to post them in the repo's issues section and I'll be sure to address them. Thanks 😄

  17. ralyodio commented on Mar 16, 2015

    @ralyodio

    +1 for docker support

  18. molerat619 commented on Apr 30, 2015

    @molerat619

    +1

  19. rustygreen commented on May 2, 2015

    @rustygreen
    Contributor

    +1

  20. shoremark commented on May 11, 2015

    @shoremark

    +1

  21. munjalpatel commented on May 28, 2015

    @munjalpatel

    +1 -- This would be great

  22. chinnichaitanya commented on May 28, 2015

    @chinnichaitanya

    👍

  23. ralyodio commented on May 29, 2015

    @ralyodio

    +1

  24. nguyenDalex commented on Jul 15, 2015

    @nguyenDalex

    +1

  25. locked and limited conversation to collaborators on Jul 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions