Skip to content

Commit

Permalink
don't copy dashboard in dockerfile b/c it gets overwritten by mountin…
Browse files Browse the repository at this point in the history
…g volume
  • Loading branch information
mdr223 committed Nov 11, 2023
1 parent dd50714 commit 9eca3ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions deploy/dev/dev-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ services:
- 3000:3000 # host:container
volumes:
- a2rchi-dev-grafana-data:/var/lib/grafana
- ../grafana/a2rchi-default-dashboard.json:/var/lib/grafana/dashboards/
logging:
options:
max-size: 10m
Expand Down
1 change: 0 additions & 1 deletion deploy/dockerfiles/Dockerfile-grafana
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ RUN mkdir -p /var/lib/grafana/dashboards
# copy files into respective grafana directories
COPY deploy/grafana/datasources.yaml /etc/grafana/provisioning/datasources/
COPY deploy/grafana/dashboards.yaml /etc/grafana/provisioning/dashboards/
COPY deploy/grafana/a2rchi-default-dashboard.json /var/lib/grafana/dashboards/

0 comments on commit 9eca3ef

Please sign in to comment.