Skip to content

Commit

Permalink
Develop (#1)
Browse files Browse the repository at this point in the history
* Add banner asset

* Add readme
  • Loading branch information
krisalay authored Aug 18, 2021
1 parent f361962 commit 3d44161
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
49 changes: 49 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
![Krisalay|Dock Util](https://raw.githubusercontent.com/krisalay/dock-util/438e95352c7ec35c0f43243e5a95440c22d8900a/assets/banner.svg)

In some cases we want to have a levarage where we can install/unistall some services from our system. Additionally, we want to test some features with different versions of services like RabbitMQ, Redis, and many more.
Docker provides us this levarage, but again everytime we need some service to start we have to write all sort of commands, or we can use docker-compose to start our services.
This Dock Utility provides the functionality to fork up docker services upon need. With this utility, there is no need to get all the services installed in our system. Based upon our need, we can fork up the services.

## Services Included

- RabbitMQ
- Redis

## Prerequisites
- Docker installed in the system and accessible by non-root user

## Steps to use the utility
Run the following commands before using the utility
1. `make`

## Commands
**Start a RabbitMQ service**
```sh
./container rabbitmq start
```
Starts a RabbitMQ and its management plugin service on port 5672 and 15672 respectively.

**Stop a RabbitMQ service**
```sh
./container rabbitmq stop
```
Stops RabbitMQ and its management plugin service.

**Start a Redis service**
```sh
./container redis start
```
Starts a Redis service on port 6379.

**Stop a Redis service**
```sh
./container redis stop
```
Stops Redis service.

**Start a Redis CLI**
```sh
./container redis-cli start
```
Starts a Redis service on port 6379 and its CLI.

1 change: 1 addition & 0 deletions assets/banner.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3d44161

Please sign in to comment.