Socket
Socket
Sign inDemoInstall

@emgee/deploy

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emgee/deploy

(Internal) Docker-based Meteor deploy


Version published
Weekly downloads
10
increased by233.33%
Maintainers
1
Weekly downloads
 
Created
Source

Deploy

This an internal Docker-based deploy script for Meteor applications.

Usage

Include a Dockerfile with which to publish.

Reads package.json for deploy settings.

$ npm install -g deploy
$ cd /path/to/meteor
$ deploy

Reverting

eval $(docker-machine env HOST)  # HOST is in package.json
docker images         # find the image id of the version you want to revert to
docker ps -a          # note down the image name of the failed upgrade
docker stop APPNAME   # if needed
docker rm APPNAME
docker run -d --restart always \
  --name APPNAME \
  -p PORT_FROM_PACKAGE_JSON:3000 \
  EXTRA_ARGS_FROM_PACKAGE_JSON \
  IMAGE_ID
docker rmi IMAGE_ID

Maintenance

Periodically you should delete old images as they are not removed automatically.

eval $(docker-machine env HOST)
docker images         # note old image ids
docker rmi IMAGE_IDs

FAQs

Package last updated on 15 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc