Skip to content

Commit 9e1292b

Browse files
authored
Docs: Update run server options (#599)
1 parent db66865 commit 9e1292b

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,21 @@ The following example describes how to build and run the remote HTTP rendering s
9393
```
9494

9595
1. Run the server:
96+
- Using default configuration
9697

97-
```bash
98-
node build/app.js server --port=8081
99-
```
98+
```bash
99+
node build/app.js server
100+
```
101+
- Using custom [configuration](https://grafana.com/docs/grafana/latest/image-rendering/#configuration)
102+
103+
```bash
104+
node build/app.js server --config=dev.json
105+
```
106+
- Using environment variables
107+
108+
```bash
109+
HTTP_PORT=8085 LOG_LEVEL=debug node build/app.js server
110+
```
100111

101112
1. Update Grafana configuration:
102113

0 commit comments

Comments
 (0)