Skip to content

Commit

Permalink
Update readme with usages
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashi Prakash Gautam committed Dec 16, 2022
1 parent 8e47140 commit 58802de
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,22 @@ An alternate consul UI build for power users.
- Dark Mode
- Advanced feature such as node deregistration, json view etc.

## How to use?

### Using docker image
```
docker pull shweshi/consul-power-ui
docker run -e CONSUL_URL=<CONSUL_BASE_URL> -p 3000:3000 -p 3001:3001 shweshi/consul-power-ui
```

### Using Docker compose
```
docker-compose build --build-arg CONSUL_URL=<CONSUL_BASE_URL>
docker-compose up
```

### Running locally

## Requirements
- Node.js
- React.js
Expand All @@ -28,22 +44,6 @@ cd proxy
npm install
```

## How to use?

### Using docker image
```
docker pull shweshi/consul-power-ui
docker run -e CONSUL_URL=<CONSUL_BASE_URL> -p 3000:3000 -p 3001:3001 shweshi/consul-power-ui
```

### Using Docker compose
```
docker-compose build --build-arg CONSUL_URL=<CONSUL_BASE_URL>
docker-compose up
```

### Running locally

In the project directory, run:

```
Expand Down

0 comments on commit 58802de

Please sign in to comment.