Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zource-dev/di
Docker Infrastructure CLI for local development
https://github.com/zource-dev/di
cli docker dynamodb kafka mongodb neo4j postgres redis
Last synced: about 13 hours ago
JSON representation
Docker Infrastructure CLI for local development
- Host: GitHub
- URL: https://github.com/zource-dev/di
- Owner: zource-dev
- License: other
- Created: 2022-03-31T22:19:13.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-05T16:50:22.000Z (3 months ago)
- Last Synced: 2025-01-16T15:51:44.812Z (25 days ago)
- Topics: cli, docker, dynamodb, kafka, mongodb, neo4j, postgres, redis
- Language: TypeScript
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Infrastructure CLI
[![CI/CD][github-image]][github-url]
[![NPM version][npm-image]][npm-url]
[![Downloads][downloads-image]][npm-url]
[![code style: prettier][prettier-image]][prettier-url]Command line tool to quickly spin up infrastracture using docker for local development
## Usage
Yarn:
```bash
yarn global add @zource/di
```NPM:
```bash
npm install -g @zource/di
```NPX:
```bash
npx @zource/di --help
```## Requirement
Please install [docker-desktop or docker engine](https://docs.docker.com/get-docker/)
## Currently supported services
- [DynamoDB](https://hub.docker.com/r/amazon/dynamodb-local) Local default version `latest`
- [Kafka](https://hub.docker.com/r/confluentinc/cp-kafka) default version `latest`
- [MongoDB](https://hub.docker.com/_/mongo) default version `latest`
- [Neo4j](https://hub.docker.com/_/neo4j) default version `latest`
- [Postgres](https://hub.docker.com/_/postgres) default version `latest`
- [RabbitMQ](https://hub.docker.com/_/rabbitmq) default version `management-alpine`
- [Redis](https://hub.docker.com/_/redis) default version `alpine`## Help
```bash
di --help
``````
Usage: di [options] [command]Docker Infrastructure CLI
Options:
-v, --version output the version number
-h, --help display help for commandCommands:
list|ls list all available services
config [options] [path] [value] show/update config
start [options] [services...] starts services
stop [services...] stops services
kill [services...] kills services
restart|rs [services...] restarts services
logs [options] logs a service
ps [service...] list services
volumes [service...] lists services volumes
size [service...] sezes services data
reset [service...] resets services config
data [service...] shows data directories
help [command] display help for commandExamples:
$ di start redis mongo
$ di kill postgres
$ di config
```## License
Copyright 2023 Ivan Zakharchanka [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
[npm-url]: https://www.npmjs.com/package/@zource/di
[downloads-image]: https://img.shields.io/npm/dw/@zource/di.svg?maxAge=43200
[npm-image]: https://img.shields.io/npm/v/@zource/di.svg?maxAge=43200
[github-url]: https://github.com/zource-dev/di/actions/workflows/build.yml
[github-image]: https://github.com/zource-dev/di/actions/workflows/build.yml/badge.svg
[prettier-url]: https://github.com/prettier/prettier
[prettier-image]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square
[codecov-url]: https://codecov.io/gh/zource-dev/di
[codecov-image]: https://codecov.io/gh/zource-dev/di/branch/master/graph/badge.svg?token=JZ8QCGH6PI
[codeclimate-url]: https://codeclimate.com/github/zource-dev/di/maintainability
[codeclimate-image]: https://api.codeclimate.com/v1/badges/0ba20f27f6db2b0fec8c/maintainability
[snyk-url]: https://snyk.io/test/npm/@zource-dev/di/latest
[snyk-image]: https://img.shields.io/snyk/vulnerabilities/github/zource-dev/di.svg?maxAge=43200