- Introduced a new Grafana dashboard for monitoring Docker containers using cAdvisor. - Created provisioning files for Grafana dashboards and data sources. - Added Dockerfiles and configuration files for Loki and Prometheus. - Implemented a Docker Compose stack for the observability services. - Configured Traefik as a reverse proxy for the services with appropriate routing. - Added scripts for SSH tunneling to access the telemetry dashboard. - Included secrets management for Grafana admin credentials.
12 lines
319 B
Docker
12 lines
319 B
Docker
FROM grafana/grafana:latest
|
|
|
|
# Disable Grafana sign up option
|
|
ENV GF_USERS_ALLOW_SIGN_UP=false
|
|
|
|
# Copy local Grafana config and provisioning into the image
|
|
COPY grafana.ini /etc/grafana/grafana.ini
|
|
COPY provisioning/ /etc/grafana/provisioning/
|
|
|
|
# Switch back to Grafana user and keep default entrypoint/CMD
|
|
EXPOSE 3000
|