mirror of
https://github.com/grafana/grafana.git
synced 2025-02-03 20:21:01 -06:00
Updated docker docs
This commit is contained in:
parent
edb39a072e
commit
9d10b5ab52
@ -17,11 +17,11 @@ above container.
|
||||
|
||||
## Docker volumes & ENV config
|
||||
|
||||
The docker container exposes two volumes, the sqlite3 database in the folder `/opt/grafana/data` and
|
||||
configuration files in the `/opt/grafana/conf` folder. You can map these volumes to host folders when you start the container:
|
||||
The docker container exposes two volumes, the sqlite3 database in the folder `/var/lib/grafana` and
|
||||
configuration files is in `/etc/grafana/` folder. You can map these volumes to host folders when you start the container:
|
||||
|
||||
$ docker run -d -p 3000:3000 \
|
||||
-v /var/grafana/data:/opt/grafana/data \
|
||||
-v /var/lib/grafana:/var/lib/grafana \
|
||||
-e "GF_SECURITY_ADMIN_PASSWORD=secret \
|
||||
grafana/grafana:develop
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user