Skip to content

Commit

Permalink
docs: updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobressan committed Aug 12, 2024
1 parent f45e149 commit 5004430
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
13 changes: 2 additions & 11 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,10 @@ Two binaries need to be executed, `rpc` which will allow external requests to cr

It's possible to create a toml file as config and set the file path in the env `RPC_CONFIG`, but it's possible to set the config using the prefix `RPC_`. The auth url is the endpoint to integrate with auth0.

```
addr="0.0.0.0:5000"
db_path="dev.db"
brokers="localhost:19092"
[auth]
url=""
```
Use the [rpc config example](examples/config/rpc.toml)

## daemon

It's possible to create a toml file as config and set the file path in the env `DAEMON_CONFIG`, but it's possible to set the config using the prefix `DAEMON_`

```
brokers="localhost:19092"
```
Use the [daemon config example](examples/config/daemon.toml)
6 changes: 0 additions & 6 deletions examples/config.toml

This file was deleted.

0 comments on commit 5004430

Please sign in to comment.