mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-28 09:41:20 +00:00
update grafana
This commit is contained in:
parent
58b3b5bcf0
commit
0004bf1fff
@ -24,6 +24,7 @@ grafana:
|
|||||||
- GF_SMTP_USER=grafana@example.com
|
- GF_SMTP_USER=grafana@example.com
|
||||||
- GF_SMTP_FROM_ADDRESS=grafana@example.com
|
- GF_SMTP_FROM_ADDRESS=grafana@example.com
|
||||||
- GF_SMTP_PASSWORD=******
|
- GF_SMTP_PASSWORD=******
|
||||||
|
- GF_USERS_ALLOW_SIGN_UP=false
|
||||||
restart: always
|
restart: always
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -13,4 +13,5 @@ grafana:
|
|||||||
- GF_SMTP_USER=grafana@example.com
|
- GF_SMTP_USER=grafana@example.com
|
||||||
- GF_SMTP_FROM_ADDRESS=grafana@example.com
|
- GF_SMTP_FROM_ADDRESS=grafana@example.com
|
||||||
- GF_SMTP_PASSWORD=******
|
- GF_SMTP_PASSWORD=******
|
||||||
|
- GF_USERS_ALLOW_SIGN_UP=false
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -33,6 +33,8 @@ $ docker-compose up -d
|
|||||||
$ docker-compose exec graphite sh
|
$ docker-compose exec graphite sh
|
||||||
>>> vi conf/storage-schemas.conf
|
>>> vi conf/storage-schemas.conf
|
||||||
>>> python webapp/manage.py migrate --run-syncdb --noinput
|
>>> python webapp/manage.py migrate --run-syncdb --noinput
|
||||||
|
>>> python webapp/manage.py createsuperuser
|
||||||
|
>>> python webapp/manage.py changepassword
|
||||||
>>> exit
|
>>> exit
|
||||||
$ tree -F -L 4
|
$ tree -F -L 4
|
||||||
├── data/
|
├── data/
|
||||||
|
Loading…
Reference in New Issue
Block a user