MQL5-Google-Onedrive/docker-compose.mt5.yml
copilot-swe-agent[bot] 13f6ae86c7 chore: update docker-compose files to remove obsolete version field
- Remove version field from docker-compose.yml
- Remove version field from docker-compose.dev.yml
- Remove version field from docker-compose.mt5.yml
- All files validated with docker compose config

Co-authored-by: Mouy-leng <199350297+Mouy-leng@users.noreply.github.com>
2026-02-14 17:42:33 +00:00

29 lines
650 B
YAML

services:
mql5-ea-container:
build:
context: .
dockerfile: Dockerfile.mt5
image: mql5-ea-container:latest
container_name: mql5-ea-container
restart: always
environment:
- TZ=UTC
- DISPLAY=:99
- WINEPREFIX=/app/.wine
- WINEDEBUG=-all
volumes:
- ./config:/app/config
- ./logs:/app/logs
- ./mt5:/app/mt5
networks:
- mql5-network
# Use healthcheck to ensure Xvfb/Orchestrator is running
healthcheck:
test: ["CMD", "ps", "-ef", "|", "grep", "Xvfb"]
interval: 30s
timeout: 10s
retries: 3
networks:
mql5-network:
driver: bridge