MQL5-Google-Onedrive/docker-compose.yml

28 lines
695 B
YAML
Raw Permalink Normal View History

version: '3.8'
services:
mql5-automation:
# Use specific version published 6 months ago (main)
image: mouyleng/mql5-trading-automation@sha256:3d8a19989bb281c070cc8b478317f904741a52e9ac18a4c3e9d15965715c9372
# build: .
container_name: mql5-trading-automation
restart: unless-stopped
volumes:
- ./config:/app/config
- ./logs:/app/logs
- ./mt5:/app/mt5
environment:
- PYTHONUNBUFFERED=1
- TZ=UTC
networks:
- mql5-network
healthcheck:
test: ["CMD", "python", "-c", "import sys; sys.exit(0)"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
mql5-network:
driver: bridge