refactor: update Docker setup and remove deprecated monitoring components

- Replace curl with wget in healthcheck commands for better reliability.
- Remove server_monitor service and related configurations from docker-compose.
- Update Dockerfile to use a multi-stage build for optimized image size.
- Delete obsolete Dockerfile.optimized and related monitoring scripts.
- Clean up Makefile by removing commands related to the server_monitor service.
- Update README to reflect changes in monitoring services and commands.
This commit is contained in:
2025-09-16 17:49:42 +03:00
parent 8673cb4f55
commit 30830c5bd9
26 changed files with 43 additions and 4668 deletions

View File

@@ -11,15 +11,6 @@ scrape_configs:
static_configs:
- targets: ['localhost:9090']
# Job для мониторинга инфраструктуры
- job_name: 'infrastructure'
static_configs:
- targets: ['bots_server_monitor:9091'] # Порт для метрик сервера мониторинга
metrics_path: '/metrics'
scrape_interval: 30s
scrape_timeout: 10s
honor_labels: true
# Job для мониторинга Node Exporter
- job_name: 'node'
static_configs: