Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
A tool for easy multi-service development powered by Docker Compose
Navy is a command line tool and NodeJS library to help make working on your application easier when it has many services or backing services.
It builds on top of Docker Compose which means it's super easy to get started if you're already familiar with the Docker ecosystem. Simply point Navy at your existing docker-compose.yml
and then you're good to go. With a single command, you can launch all of your services from your configuration and go on to manage those services and debug them.
Navy is great for development as it allows you to put a service into "development mode" from the command line, which automatically mounts your local source code into the container. This is great for quickly working on multiple services without having to change any configuration.
Navy is also great for testing and CI as you can bring up your environment before your test run and even get information like host and ports of various services using the NodeJS API.
You can customise the functionality of Navy by writing Javascript plugins which can add workflow commands or control your service configuration at runtime using middleware.
Work on services in your environment
Easily mount your source code into a service container so you can work on it locally, whilst keeping it in the Docker network. Done from one single command!
Easily run multiple instances of your environment in parallel.
This is useful if you want to have a development environment where you do all of your usual, manual testing, but also want to be able to spin up another environment with all of your services for an automated integration test run.
Swap out versions of services
Great for when you want to quickly revert to an old version of a service.
Built in HTTP proxy
Access your services using myservice.dev.nip.io
rather than using pesky IP addresses and random ports.
This is also great for testing your services on other devices like tablets and phones.
Javascript API for interfacing with Docker and Docker Compose
Easily launch and manage environments from your code. Useful for if you want to spin up an environment at the start of a test run or extract the host and port of a running service.
Plugin system
Add your own commands or manipulate the Docker Compose configuration however you like at runtime using config reducers. An example of how we use this internally is rewriting the images to point to a local registry cache instead of pulling from Docker Hub.
$ npm install -g navy
Licensed under the MIT License.
FAQs
Quick and powerful development environments using Docker and Docker Compose
The npm package navy receives a total of 182 weekly downloads. As such, navy popularity was classified as not popular.
We found that navy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.