mirror of
https://github.com/StarFleetCPTN/GoMFT.git
synced 2026-09-19 21:10:53 +02:00
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:
+8
-3
@@ -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
|
||||
Reference in New Issue
Block a user