feat: Add multi-threaded file transfers and enhanced logging support

- Implement concurrent file transfer processing with configurable concurrency
- Add new `max_concurrent_transfers` column to transfer configurations
- Enhance scheduler to support multi-threaded file transfers
- Introduce advanced logging system with rotation and configurable log levels
- Update Docker Compose and documentation with new logging configuration options
- Modify directory structure to separate data, backups, and logs
- Add environment variables for comprehensive logging control
- Improve error handling and logging in file transfer processes
This commit is contained in:
StarFleetCPTN
2025-03-11 18:00:10 -07:00
parent 16b234b2d3
commit ed81b2c9be
13 changed files with 693 additions and 329 deletions
+8 -3
View File
@@ -8,14 +8,17 @@ services:
ports:
- "8080:8080"
volumes:
# Persist data directory for SQLite database and configurations
# Main data directory - contains DB and configs
- gomft-data:/app/data
# Separate backups directory
- gomft-backups:/app/backups
# For development, you can mount the source code
# - .:/app
environment:
- TZ=UTC
# Add any environment variables needed for configuration
# - GOMFT_DB_PATH=/app/data/gomft.db
- DATA_DIR=/app/data
- BACKUP_DIR=/app/backups
- GOMFT_LOGS_DIR=/app/data/logs
# - GOMFT_LOG_LEVEL=info
networks:
- gomft-network
@@ -26,4 +29,6 @@ networks:
volumes:
gomft-data:
driver: local
gomft-backups:
driver: local