GithubHelp home page GithubHelp logo

nicolaslopezj / docker-meteor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cycoresystems/docker-meteor

0.0 2.0 0.0 291 KB

Dockerfile and script for running Meteor on Docker

License: MIT License

Shell 100.00%

docker-meteor's Introduction

Features:

  • Meteor 1.x package/bundle support
  • Git-based repository + branch/tag via environment variables (REPO and BRANCH)
  • Bundle URL via environment variable (BUNDLE_URL)
  • Bind-mount, volume, Dockerfile ADD via environment variable (APP_DIR)
  • Uses docker-linked MongoDB (i.e. MONGO_PORT...) or explicit setting via environment variable (MONGO_URL)
  • NOTE: This does NOT set MONGO_OPLOG_URL. There were too many potention complications. As a result, unless you explicitly set MONGO_OPLOG_URL, Meteor will fall back to a polling-based approach to database synchronization. Note that oplog tailing requires a working replica set on your MongoDB server as well as access to the local database.
  • Optionally specify the port on which the web server should run (PORT); defaults to 80
  • Deploy-key support (set DEPLOY_KEY to the location of your SSH key file)
    • old GITHUB_DEPLOY_KEY is also supported but deprecated
  • Non-root location of Meteor tree; the script will search for the first .meteor directory
  • PhantomJS pre-installed to support spiderable package

Versions:

Regardless of the version number of the tool included in this package, your application will run on whatever version of Meteor it is configured to run under.

Example run:

docker run --rm -e ROOT_URL=http://testsite.com -e REPO=https://github.com/yourName/testsite -e BRANCH=testing -e MONGO_URL=mongodb://mymongoserver.com:27017 ulexus/meteor

There is also a sample systemd unit file in the Github repository.

docker-meteor's People

Contributors

104player avatar dipspb avatar ulexus avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.