
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
docker-services-deployer
Advanced tools
A simple tool for deploying your services to Docker.
$ npm install -g docker-services-deployer
$ docker-services-deployer <config-file>
Note that <config-file> can be a local file on disk or a remote url, e.g. a file on S3, an api endpoint, or whatever.
There are two parts to the config file, your 'docker' options, and the definition of your services that you want to deploy to docker.
{
docker: {
},
services: [{
"name": "service1",
"registry": "mydockerregistry.somewhere.com/myorg/service1",
"tag": "latest"
"port": 1234,
"links": ["service2:service2"],
"cmd": [
"node",
"service.js"
],
"env": [
"FOO=bar",
"FOO2=bar2"
]
}]
}
The docker config object gets passed on directly to dockerode, see there for details.
Note that link and port are optional above.
Also note that one additional environment variable is set: DOCKER_HOST_IP, and is set to the hosts eth0 ip address (this is an alternative way of enabling services to talk to each other).
docker-services-deployer connects to docker, and then does the following to make sure docker is running the specified services at the correct version (tag):
MIT
Thanks to nearForm for sponsoring this.
FAQs
Simply Tool for deploying your services to Docker
The npm package docker-services-deployer receives a total of 1 weekly downloads. As such, docker-services-deployer popularity was classified as not popular.
We found that docker-services-deployer 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.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.