Skip to content

Commit

Permalink
Docs: Update run server options (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
evictorero authored Feb 18, 2025
1 parent db66865 commit 9e1292b
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,21 @@ The following example describes how to build and run the remote HTTP rendering s
```

1. Run the server:
- Using default configuration

```bash
node build/app.js server --port=8081
```
```bash
node build/app.js server
```
- Using custom [configuration](https://grafana.com/docs/grafana/latest/image-rendering/#configuration)

```bash
node build/app.js server --config=dev.json
```
- Using environment variables

```bash
HTTP_PORT=8085 LOG_LEVEL=debug node build/app.js server
```

1. Update Grafana configuration:

Expand Down

0 comments on commit 9e1292b

Please sign in to comment.