517c30ba0e
- Added logging configuration to WSGI for persistent log collection. - Updated Docker Compose files for local and development environments, including Redis, PostgreSQL, and Grafana services. - Introduced Promtail configuration for log scraping and integration with Loki. - Created application log directory in Dockerfile for log persistence.
19 lines
333 B
YAML
19 lines
333 B
YAML
server:
|
|
http_listen_port: 9080
|
|
grpc_listen_port: 0
|
|
|
|
positions:
|
|
filename: /tmp/positions.yaml
|
|
|
|
clients:
|
|
- url: http://loki:3100/loki/api/v1/push
|
|
|
|
scrape_configs:
|
|
- job_name: rad_app_logs
|
|
static_configs:
|
|
- targets:
|
|
- localhost
|
|
labels:
|
|
job: rad_app
|
|
__path__: /var/log/rad/*.log
|