- Fix YAML tags in auth config struct (json -> yaml) - Update CLI configs to use pre-hashed API keys - Remove double hashing in WebSocket client - Fix port mapping (9102 -> 9103) in CLI commands - Update permission keys to use jobs:read, jobs:create, etc. - Clean up all debug logging from CLI and server - All user roles now authenticate correctly: * Admin: Can queue jobs and see all jobs * Researcher: Can queue jobs and see own jobs * Analyst: Can see status (read-only access) Multi-user authentication is now fully functional.
64 lines
1.5 KiB
YAML
64 lines
1.5 KiB
YAML
services:
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
ports:
|
|
- "9090:9090"
|
|
command:
|
|
- '--config.file=/etc/prometheus/prometheus.yml'
|
|
- '--storage.tsdb.path=/prometheus'
|
|
- '--web.console.libraries=/etc/prometheus/console_libraries'
|
|
- '--web.console.templates=/etc/prometheus/consoles'
|
|
- '--web.enable-lifecycle'
|
|
volumes:
|
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
|
- prometheus-data:/prometheus
|
|
networks:
|
|
- monitoring
|
|
|
|
loki:
|
|
image: grafana/loki:2.9.0
|
|
ports:
|
|
- "3100:3100"
|
|
command: -config.file=/etc/loki/local-config.yaml
|
|
volumes:
|
|
- ./loki-performance-config.yaml:/etc/loki/local-config.yaml
|
|
networks:
|
|
- monitoring
|
|
|
|
promtail:
|
|
image: grafana/promtail:latest
|
|
volumes:
|
|
- ./promtail-performance-config.yaml:/etc/promtail/config.yml
|
|
- /var/log:/var/log:ro
|
|
command: -config.file=/etc/promtail/config.yml
|
|
networks:
|
|
- monitoring
|
|
|
|
pushgateway:
|
|
image: prom/pushgateway:latest
|
|
ports:
|
|
- "9091:9091"
|
|
networks:
|
|
- monitoring
|
|
|
|
grafana:
|
|
image: grafana/grafana:latest
|
|
ports:
|
|
- "3001:3000"
|
|
environment:
|
|
- GF_SECURITY_ADMIN_PASSWORD=admin
|
|
volumes:
|
|
- grafana-data:/var/lib/grafana
|
|
- ./grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
|
|
- ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
|
|
networks:
|
|
- monitoring
|
|
|
|
volumes:
|
|
loki-data:
|
|
grafana-data:
|
|
prometheus-data:
|
|
|
|
networks:
|
|
monitoring:
|
|
driver: bridge
|