Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dalibormesaric committed Oct 13, 2024
1 parent 1f5487f commit 42eeb06
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Load balance requests based on configured hostname accross configured backends.

## Getting started

### Docker

You can run `RPLB` with these commands:

``` sh
Expand Down Expand Up @@ -66,6 +68,8 @@ Usage of rplb:

## Try it out

### Example

There is an `/example` folder in this repository containing already configured `RPLB` with tree backends. You can try it our by running:

``` sh
Expand All @@ -90,6 +94,16 @@ docker compose -f example/leastloaded/compose.yaml down

## Development

### Version using Git Tags

``` sh
git tag

git tag v0.1

git push origin v0.1
```

``` sh
go run -ldflags "-X github.com/dalibormesaric/rplb/internal/config.Version=$(git describe --tags --abbrev=0)" cmd/rplb/main.go
```
Expand Down

0 comments on commit 42eeb06

Please sign in to comment.