generated from Arquisoft/wiq_0
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create dockerfiles and upload image for grafana and prometheus
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM grafana/grafana | ||
|
||
# Copying the provisioning files | ||
COPY ./provisioning /etc/grafana/provisioning | ||
|
||
# Exposing Grafana server port | ||
EXPOSE 9091 | ||
|
||
# Running Grafana server | ||
CMD [ "grafana-server" ] |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM prom/prometheus | ||
|
||
# Copying the configuration file | ||
COPY prometheus.yml /etc/prometheus/prometheus.yml | ||
|
||
# Exposing Prometheus server port | ||
EXPOSE 9090 | ||
|
||
# Running Prometheus | ||
ENTRYPOINT [ "prometheus", "--config.file=/etc/prometheus/prometheus.yml" ] |