Skip to content

Commit

Permalink
fix: dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Toto-hitori committed Apr 19, 2024
1 parent 67bdfc8 commit d644faa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 1 addition & 4 deletions api/monitoring/grafana/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
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}
COPY ./provisioning /etc/grafana/provisioning

# Expose the default Grafana port
EXPOSE 9091
Expand Down
6 changes: 1 addition & 5 deletions api/monitoring/prometheus/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
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}
COPY ./configuration /etc/prometheus

# Expose the default Prometheus port
EXPOSE 9090
Expand Down

0 comments on commit d644faa

Please sign in to comment.