mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-04-11 17:09:14 +00:00
Merged the following branches: - feat-genx-trader-bot-bridge (ZOLO bridge, Docker updates) - feature/zolo-integration-update (ZOLO bridge improvements) - feature/add-web-request (Requests support) - fix-mql5-ask-bid-usage (Fix for MQL5) - update-documentation-and-setup-script (Docs update) - update-trading-bridge-zolo (Bridge IP update) - expert-mapsar-improvements (MAPSAR EA improvements) - remote-control-intelligence-tools-integration (Remote control guide) - feat/cli-documentation (CLI docs) - perf-optimize-validator (Validator script optimization) - jules-docker-run-verification (Verification doc update) Resolved conflicts in: - mt5/MQL5/Experts/SMC_TrendBreakout_MTF_EA.mq5 (Version 1.21, merged improvements) - scripts/ci_validate_repo.py (Kept optimized version) - render.yaml (Merged configs) - docker-compose.yml (Merged configs) - README.md & docs (Merged updates) Security fixes: - Removed hardcoded credentials from setup_github_secrets.ps1 and docs/GITHUB_CI_CD_SETUP.md.
55 lines
1.8 KiB
PowerShell
55 lines
1.8 KiB
PowerShell
# PowerShell script to start development container
|
|
# Usage: .\scripts\start_dev_container.ps1
|
|
|
|
param(
|
|
[switch]$Build,
|
|
[switch]$Stop,
|
|
[switch]$Logs,
|
|
[switch]$Shell
|
|
)
|
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
Write-Host "========================================" -ForegroundColor Green
|
|
Write-Host "MQL5 Trading Automation - Dev Container" -ForegroundColor Green
|
|
Write-Host "========================================" -ForegroundColor Green
|
|
Write-Host ""
|
|
|
|
if ($Stop) {
|
|
Write-Host "Stopping development container..." -ForegroundColor Yellow
|
|
docker-compose -f docker-compose.dev.yml down
|
|
Write-Host "✅ Container stopped" -ForegroundColor Green
|
|
exit 0
|
|
}
|
|
|
|
if ($Logs) {
|
|
Write-Host "Showing container logs..." -ForegroundColor Yellow
|
|
docker-compose -f docker-compose.dev.yml logs -f
|
|
exit 0
|
|
}
|
|
|
|
if ($Shell) {
|
|
Write-Host "Opening shell in container..." -ForegroundColor Yellow
|
|
docker exec -it mql5-trading-dev bash
|
|
exit 0
|
|
}
|
|
|
|
if ($Build) {
|
|
Write-Host "Building development container..." -ForegroundColor Yellow
|
|
docker-compose -f docker-compose.dev.yml build --no-cache
|
|
}
|
|
|
|
Write-Host "Starting development container..." -ForegroundColor Yellow
|
|
docker-compose -f docker-compose.dev.yml up -d
|
|
|
|
Write-Host ""
|
|
Write-Host "✅ Development container is running!" -ForegroundColor Green
|
|
Write-Host ""
|
|
Write-Host "Available commands:" -ForegroundColor Cyan
|
|
Write-Host " .\scripts\start_dev_container.ps1 -Shell # Open shell in container" -ForegroundColor Gray
|
|
Write-Host " .\scripts\start_dev_container.ps1 -Logs # View logs" -ForegroundColor Gray
|
|
Write-Host " .\scripts\start_dev_container.ps1 -Stop # Stop container" -ForegroundColor Gray
|
|
Write-Host ""
|
|
Write-Host "Or use VS Code Dev Containers extension:" -ForegroundColor Cyan
|
|
Write-Host " F1 → 'Dev Containers: Reopen in Container'" -ForegroundColor Gray
|
|
Write-Host ""
|