这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ run pip install whisper
run pip install --install-option="--prefix=/var/lib/graphite" --install-option="--install-lib=/var/lib/graphite/lib" carbon
run pip install --install-option="--prefix=/var/lib/graphite" --install-option="--install-lib=/var/lib/graphite/webapp" graphite-web

# graphana
# grafana
run cd ~ &&\
wget https://grafanarel.s3.amazonaws.com/builds/grafana_2.0.1_amd64.deb &&\
dpkg -i grafana_2.0.1_amd64.deb && rm grafana_2.0.1_amd64.deb
wget https://grafanarel.s3.amazonaws.com/builds/grafana_2.1.3_amd64.deb &&\
dpkg -i grafana_2.1.3_amd64.deb && rm grafana_2.1.3_amd64.deb

# statsd
add ./statsd/config.js /src/statsd/config.js
Expand Down
1 change: 1 addition & 0 deletions bin/init
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ fi

mkdir -p /data/grafana
chown -R grafana /data/grafana
chown -R grafana /usr/share/grafana
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grafana 2.1.x doesn't respect log path configuration(grafana/grafana#2533). It creates log on default path. Permission given to avoid startup issues till new version with fix is not released.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aha ... thanks

rm -fr /data/graphite/*.pid

mkdir -p /data/log/supervisor
Expand Down