mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-01 17:17:24 -04:00
feat: simplify Docker config file selection with convention over configuration
Implement automatic detection of custom_config.json for simpler Docker usage. No environment variables or command-line arguments needed for most users. Changes: - entrypoint.sh: Add smart config detection (custom_config.json > CLI arg > default_config.json) - docker-compose.yml: Add configs volume mount for editing without rebuilds - docs/DOCKER.md: Update documentation with simplified workflow - .gitignore: Add custom_config.json to prevent accidental commits Usage: cp configs/default_config.json configs/custom_config.json nano configs/custom_config.json docker-compose up # Automatically uses custom_config.json Simplifies user experience by following convention over configuration principle.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -57,6 +57,7 @@ delete.py
|
||||
refresh_data.sh
|
||||
|
||||
# Config files (optional - uncomment if needed)
|
||||
configs/custom_config.json
|
||||
configs/day_config.json
|
||||
configs/hour_config.json
|
||||
configs/test_config.json
|
||||
|
||||
Reference in New Issue
Block a user