Commit inicial: Projeto YuClusters

This commit is contained in:
Thiago Moura
2026-06-04 18:12:47 -03:00
commit 0a185c0223
28 changed files with 5093 additions and 0 deletions
@@ -0,0 +1,18 @@
#!/bin/bash
set -e
echo "=== Starting MT5 Gateway ==="
export WINEPREFIX=$HOME/.wine
export WINEDLLOVERRIDES="mscoree,mshtml="
# Start Xvfb in background
Xvfb :0 -screen 0 1024x768x16 &
export DISPLAY=:0
# Wait for X11
sleep 2
# We start the Flask server via Python in Wine
# The MT5 logic inside app.py will initialize MT5
echo "Starting Flask API Bridge..."
wine python /app/app.py