Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Document use and env vars
  • Loading branch information
matthewford committed Aug 9, 2023
1 parent 171e7fc commit 0d94efc
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 @@ -2,6 +2,20 @@

Stores the IP address of the vm/machine in a redis channel (ipstash), so that it can be used by other services.

## Usage

Envriorment variables:

```console
REDIS_URL = 'redis://localhost:6379'
IPSTASH_CHANNEL = 'ipstash'
IP_FETCH_URL = 'http://ipinfo.io/ip'
```

```console
$ ipstash
```

## Getting started

This project requires Go to be installed. On OS X with Homebrew you can just run `brew install go`.
Expand Down

0 comments on commit 0d94efc

Please sign in to comment.