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.
feat: dockerfiles for grafana and prometheus
- Loading branch information
1 parent
4465a5f
commit 921e165
Showing
3 changed files
with
28 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,14 @@ | ||
FROM grafana/grafana | ||
LABEL authors="dario" | ||
# Define the source and destination directories | ||
COPY_SOURCE = ./provisioning | ||
COPY_DESTINATION = /etc/grafana/provisioning | ||
|
||
# Copy the configuration files | ||
COPY ${COPY_SOURCE}/* ${COPY_DESTINATION} | ||
|
||
# Expose the default Grafana port | ||
EXPOSE 9091 | ||
|
||
# Run Grafana in the foreground | ||
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,14 @@ | ||
FROM prom/prometheus | ||
LABEL authors="dario" | ||
# Define the source and destination directories | ||
COPY_SOURCE = ./configuration | ||
COPY_DESTINATION = /etc/prometheus | ||
|
||
# Copy the configuration files | ||
COPY ${COPY_SOURCE}/* ${COPY_DESTINATION} | ||
|
||
# Expose the default Prometheus port | ||
EXPOSE 9090 | ||
|
||
# Run Prometheus in the foreground | ||
CMD ["prometheus"] |
File renamed without changes.