This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from pedrocesar-ti/add_arm_support
Changed images and permission to Grafana
- Loading branch information
Showing
3 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM grafana/grafana:4.5.0 | ||
FROM grafana/grafana | ||
MAINTAINER Pedro César de Azevedo <[email protected]> | ||
|
||
ADD conf/grafana.db /var/lib/grafana/grafana.db | ||
|
@@ -7,4 +7,11 @@ ADD conf/home.json /usr/share/grafana/public/dashboards/home.json | |
ENV GF_SERVER_ROOT_URL http://localhost | ||
ENV GF_SECURITY_ADMIN_PASSWORD admin | ||
ENV GF_AUTH_ANONYMOUS_ENABLED true | ||
|
||
USER root | ||
RUN chown -R root:root /etc/grafana && \ | ||
chmod -R a+r /etc/grafana && \ | ||
chown -R grafana:grafana /var/lib/grafana | ||
|
||
USER grafana | ||
ENTRYPOINT ["/run.sh"] |