@zource/di
v0.7.0
Published
Docker Infrastructure CLI
Downloads
108
Maintainers
Readme
Docker Infrastructure CLI
Command line tool to quickly spin up infrastracture using docker for local development
Usage
Yarn:
yarn global add @zource/di
NPM:
npm install -g @zource/di
NPX:
npx @zource/di --help
Requirement
Please install docker-desktop or docker engine
Currently supported services
- DynamoDB Local default version
latest
- Kafka default version
latest
- MongoDB default version
latest
- Neo4j default version
latest
- Postgres default version
latest
- RabbitMQ default version
management-alpine
- Redis default version
alpine
Help
di --help
Usage: di [options] [command]
Docker Infrastructure CLI
Options:
-v, --version output the version number
-h, --help display help for command
Commands:
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] <service> 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 command
Examples:
$ di start redis mongo
$ di kill postgres
$ di config
License
Copyright 2023 Ivan Zakharchanka Apache-2.0