Skip to content

Commit 2065144

Browse files
committed
default grafana to subpath
1 parent 0bc0922 commit 2065144

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.env.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ PROMETHEUS_RETENTION_TIME=15d
1616
PROMETHEUS_PORT=9000
1717
# Grafana
1818
# Set to empty string to use a subpath
19-
GRAFANA_DOMAIN=grafana.localhost
19+
GRAFANA_DOMAIN=
2020
# set to /grafana to use from a subpath
21-
GRAFANA_PATH=
21+
GRAFANA_PATH=/grafana
2222

2323
GRAFANA_ADMIN_PASSWORD=rc-admin
2424
GRAFANA_HOST_PORT=5050
@@ -32,4 +32,4 @@ GRAFANA_HOST_PORT=5050
3232

3333
# MongoDB
3434
MONGODB_BIND_IP=127.0.0.1
35-
MONGODB_PORT_NUMBER=27017
35+
MONGODB_PORT_NUMBER=27017

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ For deploying the recommended stack with Rocket.Chat, Traefik, MongoDB, NATS, an
4848
LETSENCRYPT_EMAIL=
4949
# Domain for Rocket.Chat
5050
DOMAIN=localhost
51-
# Domain for Grafana
52-
GRAFANA_DOMAIN=grafana.localhost
51+
# Domain for Grafana, blank to use as a path
52+
GRAFANA_DOMAIN=
53+
GRAFANA_PATH=/grafana
5354
# Should match your domain; use https if enabled
5455
ROOT_URL=http://localhost
5556
```

0 commit comments

Comments
 (0)