Configure custom grafana server URL
This commit is contained in:
parent
d0b15af840
commit
1dc79fb202
@ -4,6 +4,8 @@ services:
|
|||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana:10.2.2
|
image: grafana/grafana:10.2.2
|
||||||
restart: always
|
restart: always
|
||||||
|
environment:
|
||||||
|
GF_SERVER_ROOT_URL: ${GF_SERVER_ROOT_URL}
|
||||||
volumes:
|
volumes:
|
||||||
- ../config/monitoring/grafana/provisioning:/etc/grafana/provisioning
|
- ../config/monitoring/grafana/provisioning:/etc/grafana/provisioning
|
||||||
- ../config/monitoring/grafana/dashboards:/etc/grafana/dashboards
|
- ../config/monitoring/grafana/dashboards:/etc/grafana/dashboards
|
||||||
|
@ -140,6 +140,10 @@ Set the following env variables in the deployment env config file (`monitoring-d
|
|||||||
# External ETH RPC endpoint (filecoin)
|
# External ETH RPC endpoint (filecoin)
|
||||||
# (Optional, default: https://api.node.glif.io/rpc/v1)
|
# (Optional, default: https://api.node.glif.io/rpc/v1)
|
||||||
CERC_FIL_RPC_ENDPOINT=
|
CERC_FIL_RPC_ENDPOINT=
|
||||||
|
|
||||||
|
# Grafana server host URL (used in various links in alerts, etc.)
|
||||||
|
# (Optional, default: http://localhost:3000)
|
||||||
|
GF_SERVER_ROOT_URL=
|
||||||
```
|
```
|
||||||
|
|
||||||
## Start the stack
|
## Start the stack
|
||||||
|
@ -130,6 +130,10 @@ Set the following env variables in the deployment env config file (`monitoring-w
|
|||||||
```bash
|
```bash
|
||||||
# Infura key to be used
|
# Infura key to be used
|
||||||
CERC_INFURA_KEY=
|
CERC_INFURA_KEY=
|
||||||
|
|
||||||
|
# Grafana server host URL to be used
|
||||||
|
# (Optional, default: http://localhost:3000)
|
||||||
|
GF_SERVER_ROOT_URL=
|
||||||
```
|
```
|
||||||
|
|
||||||
## Start the stack
|
## Start the stack
|
||||||
|
Loading…
Reference in New Issue
Block a user