Introduction: Using Docker for product-level deployment of meteor applications (Getting started)

Source: Internet
Author: User

There are many ways to deploy Meteor applications:

  1. Compile into a node. JS app and deploy it Yourself (PM2, forever ... )
  2. Using MUP or MUPX
  3. Deploying on the Galaxy platform
  4. Using Docker

Various deployment scenarios have their own characteristics, this article does not do a detailed comparison, here is a brief introduction of how to use Docker in the Daocloud platform in the most concise way to do meteor application deployment:

  1. Create a Meteor app
  2. Add the Dockerfile file under the project root, in a word
    From Zhaoyao91/meteord:onbuild
  3. Push the code to the cloud repository, take GitHub for example
  4. Login Daocloud, if no account, then apply for account

  5. Create a code Build

  6. Build the code (build image from code). Typically, a build is triggered automatically once the code is created, and if you update the code, you can manually trigger the build
  7. Deploy image (Generate container from image and run)

  8. Next, you can view the logs to see the application deployment and operational status. If you are deploying on a daocloud public cloud, when deployment is complete, a URL is automatically obtained to access the app

Introduction: Using Docker for product-level deployment of meteor applications (Getting started)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.