Changelog
1.3.3 - September 12, 2017
mup validate
command, which validates the config. Has --show
option which shows the config after it has been normalized and modified by plugin's prepareConfig
functionsmup proxy logs-le
to view the Let's Encrypt logsapp.dockerImage
in the config when using Mongo, the reverse proxy, or RedisChangelog
1.3.2 - September 8, 2017
npm install
during Prepare Bundle"meteor.name" has a period
app.env
is missingapp.name
is missingChangelog
1.3.1 - August 23, 2017
mup ssh <server>
commandsudo
mup proxy stop
doesn't require the proxy
object to be in the configapp.docker.prepareBundle
to enable or disable prepare bundleChangelog
1.3.0 - August 22, 2017
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:
meteor.deployCheckWaitTime
no longer needs to include the time to install npm dependenciesmeteor.deployCheckWaitTime
expires, and running with --verbose
shows the full logs from npm install
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--servers
option to list which servers to usemeteor.servers.<server name>.env
Config Changes
meteor
object has been renamed to app
. The meteor
object will be supported until Mup 2.0mongo.port
and mongo.oplog
from your config since they have never been usedDocs
meteor.docker.imagePort
, mongo.port
, and mongo.oplog
from example configsmeteor.docker.imagePort
meteor.deployCheckWaitTime
Other Changes
http
to https
, configured with proxy.ssl.forceSSL
mup setup
updates Docker if it is older than 1.13mup proxy reconfig-shared
to update the server after changing proxy.shared
in the config.meteor.deployCheckWaitTime
, meteor.docker.imagePort
, and mongo.port
from default configmeteor
object in the default config to app
server.pem
is a path to a public keyapp.name
has a periodproxy.shared.clientUploadLimit
meteor build
failsmup meteor restart
commandmup mongo dump
command since it did nothingChangelog
1.2.11 - June 14, 2017
mup setup
restarting dockerChangelog
1.2.10 - June 4, 2017
Changelog
1.2.9 - June 3, 2017
proxy
object instead of using meteor.ssl
and meteor.nginx
mup proxy
command. For a list of subcommands, run mup proxy help
meteor.ssl
since the previous image used for custom certificates had a security vulnerability.Big thanks to @shaiamir for his work on the shared proxy.
mup stop
also stops nginx proxy and let's encrypt containersdocker.imagePort
. The app is still accessible on env.PORT
.--cached-build
flag is setzodern: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 successfully validate the deployment.