-
Notifications
You must be signed in to change notification settings - Fork 10
chore: refactor remove unused containers #160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: chore/refactor
Are you sure you want to change the base?
chore: refactor remove unused containers #160
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes unused container services and their associated configurations from the project. The main purpose is to clean up monitoring infrastructure and attestation services that are no longer needed.
- Removes the entire
nilai-attestation
service including all Python code, tests, Go modules, and configuration - Removes monitoring infrastructure including Prometheus configuration and Grafana routing
- Removes container definitions for
prometheus
,node_exporter
,grafana
, andattestation
services from Docker Compose
Reviewed Changes
Copilot reviewed 24 out of 36 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
prometheus/config/prometheus.yml | Removes Prometheus configuration file entirely |
nilai-attestation/ | Removes complete attestation service directory including Python code, tests, Go modules |
docker-compose.yml | Removes monitoring containers (prometheus, node_exporter, grafana, attestation) |
docker-compose.*.yml | Removes attestation and monitoring service configurations from production/dev environments |
caddy/Caddyfile.http | Removes Grafana proxy routing configuration |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
grafana: | ||
container_name: grafana | ||
image: 'grafana/grafana:11.5.1' | ||
restart: unless-stopped | ||
user: "$UID:$GID" | ||
depends_on: | ||
- prometheus | ||
environment: | ||
- GF_USERS_ALLOW_SIGN_UP=false | ||
healthcheck: | ||
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"] | ||
interval: 30s | ||
timeout: 10s | ||
retries: 3 | ||
start_period: 10s |
Copilot
AI
Oct 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The grafana service has a dependency on prometheus service, but prometheus service has been removed from the main docker-compose.yml file. This will cause the grafana container to fail to start.
Copilot uses AI. Check for mistakes.
a9e60ab
to
b89c8e5
Compare
f142e44
to
a27de4e
Compare
No description provided.