meteor-up

Production Quality Meteor Deployment to Anywhere

MIT License

Downloads
4.2K
Stars
1.3K
Committers
65

Bot releases are hidden (Show)

meteor-up - 1.3.0

Published by zodern about 7 years ago

Hooks

It is now possible to add hooks that run before or after commands. The new --show-hook-names option shows all of the available hooks for a cli command while it is running. Hooks can be a command to run locally or on the servers, or a function.

Plugins

Plugins are npm packages that can add commands (commands can be run from the mup cli or by other plugins), hooks, and config validators. All of the included cli commands and task lists have been moved to plugins.

Changes to Deployment and Deployment validation

This is currently only enabled for the abernix/meteord docker image.

After the bundle is uploaded to each server, a new task is run called "Prepare bundle". It installs the Meteor npm dependencies, rebuilds native modules, and stores the result in a docker image. This has a few benefits:

  • The time in meteor.deployCheckWaitTime no longer needs to include the time to install npm dependencies
  • When installing dependencies fails, it does not continuously restart until meteor.deployCheckWaitTime expires, and running with --verbose shows the full logs from npm install
  • Dependencies are only installed once during each deploy. This means that mup start, mup restart, and mup reconfig are all much faster.

Improved Support for Multiple Servers

  • mup restart restarts only one server at a time
  • Add --servers option to list which servers to use
  • Add support for server specific env variables, which can be configured in meteor.servers.<server name>.env

Config Changes

  • The meteor object has been renamed to app. The meteor object will be supported until Mup 2.0
  • You can remove mongo.port and mongo.oplog from your config since they have never been used

Docs

  • Remove meteor.docker.imagePort, mongo.port, and mongo.oplog from example configs
  • Document meteor.docker.imagePort
  • Update documentation for meteor.deployCheckWaitTime
  • Improve mongo, migration, proxy, and troubleshooting docs

Other Changes

  • The reverse proxy can redirect http to https, configured with proxy.ssl.forceSSL
  • mup setup updates Docker if it is older than 1.13
  • Add mup proxy reconfig-shared to update the server after changing proxy.shared in the config.
  • Remove meteor.deployCheckWaitTime, meteor.docker.imagePort, and mongo.port from default config
  • Renamed the meteor object in the default config to app
  • Improve cli help output (commands have a description, command specific options are documented)
  • Show link to docs when there are validation errors
  • Show validation error when server.pem is a path to a public key
  • Show validation error when app.name has a period
  • Improve some of the validation messages
  • Fix validating proxy.shared.clientUploadLimit
  • Mup displays message and exits if the node version is older than v4
  • Remove unnecessary stack traces when the app's path is incorrect or meteor build fails
  • Add mup meteor restart command
  • Remove mup mongo dump command since it did nothing
meteor-up - 1.2.11

Published by zodern over 7 years ago

  • Deployment verifier shows last 100 lines of the app's log when it fails (it previously was 50 lines)
  • Fix mup setup restarting docker
meteor-up - 1.2.10

Published by zodern over 7 years ago

Deployment verifier no longer requires the HTTP status code to be 200.

meteor-up - 1.2.9

Published by zodern over 7 years ago

  • Add shared nginx proxy
    • Is configured with a proxy object instead of using meteor.ssl and meteor.nginx
    • If multiple apps are deployed to a server, routes requests to the correct container
    • Adds mup proxy command. For a list of subcommands, run mup proxy help
    • Supports using custom certificates. This should be used instead of meteor.ssl since the previous image used for custom certificates had a security vulnerability.
    • Also can set up Let's Encrypt
    • Supports configuring the env variables for the nginx and let's encrypt containers.

Big thanks to @shaiamir for his work on the shared proxy.

  • mup stop also stops nginx proxy and let's encrypt containers
  • App inside container's port is set to docker.imagePort. The app is still accessible on env.PORT.
  • Will build app if cached build is not found and --cached-build flag is set
  • Fix some bugs with verifying deployment
  • Add support for zodern:mup-helpers package. Since version 1.2.7, verifying deployment fails if the app's / route's http code is other than 200, or if it does not redirect on the server to a page that does have that http code. Adding zodern:mup-helpers allows meteor up to sucessfully validate the deployment.
meteor-up - 1.2.7

Published by zodern over 7 years ago

  • Fix verifying deployment when using ssl autogenerate
  • Add default host to nginx-proxy to redirect unknown hosts to the app when accessed over http
  • Remove force-ssl warning and add a note about redirects to the Troubleshooting guide in the readme
  • Fix example config in readme @meteorplus
  • Fix setting HTTPS_METHOD for nginx-proxy. It will no longer redirect http to https
  • Validator warns when using ssl autogenerate and setting env.PORT.
meteor-up - 1.2.5

Published by zodern over 7 years ago

  • Support changing docker exposed port @abernix
  • New mup docker restart command
  • New mup docker ps command. It accepts all arguments that docker ps accepts
  • Old ssh key and bundle are deleted before uploading new ones
  • Setting up Mongo and Meteor are no longer in parallel
  • --verbose flag also shows output from scripts run on the server
  • MongoDB is safely shutdown for Start Mongo and Stop Mongo task lists
  • Reduced number of dependencies installed
  • Better error message on meteor build spawn error
  • Setup tasks are consistently capitilized
  • Clearer validator message for ROOT_URL
  • Add warning message when using force-ssl without ssl setup
  • Validate meteor.ssl.upload @markreid
meteor-up - 1.2.4

Published by zodern over 7 years ago

  • Add tips to default config, and comment what needs to be changed
  • mup init and mup setup suggests what to do next
  • Startup script is updated during mup reconfig
  • Default build path is consistent between deploys for each app
  • Add --cached-build flag to mup deploy which uses the build from the previous deploy
  • Configure additional docker networks, ip binding, and verification port @giordanocardillo
  • Add --verbose flag to show output from meteor build
  • Handles promise rejections
  • Fix docker not always disconnecting containers from networks @joaolboing
  • Fix stderr sometimes in wrong place in logs
  • Fix some lines in logs would be missing the host name
  • Fix validating buildLocation
  • Fix path to temp folder on Windows
meteor-up - 1.2.3

Published by zodern over 7 years ago

  • Default config uses meteor.docker object instead of dockerImage @maxmatthews
  • Docker args from config are no longer escaped @maxmatthews
  • Add buildLocation for validator @stubbegianni
  • Improved messages from validator
  • Fix nginx-proxy not starting on server restart
  • Fix documentation on changing port @maxmatthews
meteor-up - 1.2.2

Published by zodern over 7 years ago

  • Configure nginx max client upload size, and increase default to 10M (@shadowcodex)
  • Displays better message if it can not find the meteor app
  • Displays message if can not find pem for server
  • Improve validating server's host in config
  • Validator checks for http:// or https:// in ROOT_URL
  • Update documentation on using mup on Windows
meteor-up - 1.2.1

Published by zodern over 7 years ago

  • All paths support "~"
  • Add server and allowIncompatibleUpdates to build config (@alvelig)
  • Allow mobile-settings build option to use settings.json file (@alvelig)
  • Add mup --version command
  • Fix validating env variables and imageFrontendServer
meteor-up - 1.2

Published by zodern over 7 years ago

  • Support Meteor 1.4 by default (@ffxsam)
  • Change mongo version
  • Validates mup.js and displays problems found in it
  • Update message is clearer and more colorful
  • uploadProgressBar is part of default mup.js
  • Add trailing commas to mup.js (@ffxsam)
  • Improve message when settings.json is not found or is invalid
  • Loads and parses settings.json before building the app
  • Improve message when given unknown command
  • Fix switching from auto-generated ssl certificates to upload certificates
  • Fix Error: Cannot find module 'ssh2'
  • Fix mup logs when using custom configuration or settings files
meteor-up - 1.1.0

Published by zodern over 7 years ago

  • Add let's encrypt support (@mbabauer)
  • Fix typo (@timbrandin)
  • Help is shown for mup and mup help
  • Improved help text
meteor-up - 1.0.4

Published by madushan1000 about 8 years ago

meteor-up - 1.0.3

Published by madushan1000 about 8 years ago

meteor-up - 1.0.2

Published by madushan1000 about 8 years ago

meteor-up - 1.0.1

Published by madushan1000 about 8 years ago