Add complete centralized logging solution for all Docker containers. New services: - Loki: Log aggregation backend (loki.fig.systems) - Promtail: Log collection agent - Grafana: Log visualization (logs.fig.systems) Features: - Automatic Docker container discovery - 30-day log retention (configurable) - Powerful LogQL querying - Pre-configured Grafana datasource - Comprehensive documentation Resources: - ~400-700MB RAM for 20 containers - Automatic labeling by container/project/service - SSO protection for Loki API Documentation: - Complete setup guide - Query examples and patterns - Troubleshooting steps - Best practices
13 lines
200 B
Text
13 lines
200 B
Text
# Loki data
|
|
loki-data/
|
|
|
|
# Grafana data
|
|
grafana-data/
|
|
|
|
# Keep provisioning and config files
|
|
!grafana-provisioning/
|
|
!loki-config.yaml
|
|
!promtail-config.yaml
|
|
|
|
# Keep .env.example if created
|
|
!.env.example
|