Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@emgee/deploy
Advanced tools
This an internal Docker-based deploy script for Meteor applications.
Include a Dockerfile
with which to publish.
Reads package.json
for deploy settings.
$ npm install -g deploy
$ cd /path/to/meteor
$ deploy
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
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
(Internal) Docker-based Meteor deploy
The npm package @emgee/deploy receives a total of 10 weekly downloads. As such, @emgee/deploy popularity was classified as not popular.
We found that @emgee/deploy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.