-
Notifications
You must be signed in to change notification settings - Fork 5
Grafana #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Grafana #30
Changes from 20 commits
0853623
93a33da
fea55ff
7a4ffc1
79ae9ff
5c52174
0d05cf7
bfbdde3
0d40dea
84bc0e6
62184c1
e9db1f9
f239894
8b669ba
d2662c8
85cfca3
b5c3595
bf28eef
52d76ac
a7a7434
6751c64
96b5a55
2618337
36848ed
84d3ba3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ RUN apt-get update && \ | |
libssl-dev \ | ||
python-pip && \ | ||
pip install \ | ||
jinja2 \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Может есть вариант избежать установки jinja2, если не нужно обрабатывать сложные шаблоны? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Например .format() There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. да, как вариант |
||
simplemysql \ | ||
pycurl \ | ||
pyzabbix && \ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM grafana/grafana:latest | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Всегда фиксируем версию базового образа, никогда не привязываемся к There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Сделал |
||
|
||
USER root | ||
|
||
ENV GF_INSTALL_PLUGINS=alexanderzobnin-zabbix-app | ||
|
||
COPY ./scripts/run.sh / | ||
|
||
RUN chmod +x /run.sh | ||
|
||
ENTRYPOINT [ "/run.sh" ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
если есть какой-то статический конфиг, не нужно его оглашать в общем конфиги, можно сделать это или в Dockerfile или же в docker-compose. В конфиг выносим, только все очень важное
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
понял, сделал