Refactor worker management and enhance configuration options

- Updated docker-compose.yml to allow read-write access for workers.json.
- Introduced WorkerManager class in wallamonitor.py to manage workers dynamically based on workers.json configuration.
- Enhanced Worker class to support controlled start/stop operations and updated general arguments.
- Improved Workers.vue to include a general configuration modal and refined UI for active and disabled workers.
- Added functionality for global filters and improved worker editing capabilities.
- Implemented methods for saving general configuration and deleting workers.
This commit is contained in:
Omar Sánchez Pizarro
2026-01-19 21:00:59 +01:00
parent 06e763c7ab
commit c3ef3daf5e
5 changed files with 729 additions and 92 deletions

View File

@@ -81,7 +81,7 @@ services:
volumes:
# Montar archivos de configuración
- ./config.yaml:/app/config.yaml:ro
- ./workers.json:/app/workers.json:ro
- ./workers.json:/app/workers.json:rw
# Montar directorio de logs en lugar del archivo para evitar problemas
- ./logs:/app/logs:rw
depends_on: