Files
Neural-Network-MT5-Trading-Bot/docker-compose.yml
T

43 lines
852 B
YAML
Raw Normal View History

2023-07-13 16:53:03 +02:00
version: "3"
services:
metatrader_service:
container_name: metatrader
image: ejtrader/metatrader:5
restart: unless-stopped
ports:
- "5900:5900"
- "15555:15555"
- "15556:15556"
- "15557:15557"
- "15558:15558"
volumes:
- ejtraderMT:/data
2023-07-15 22:15:34 +02:00
environment:
- DISPLAY=host.docker.internal:0
- MT5_PASSWORD=your_password
- MT5_SERVER=your_server
2023-07-13 16:53:03 +02:00
trading_bot:
container_name: trading_bot
build:
context: .
dockerfile: docker/DockerFile
volumes:
- ./app:/app
depends_on:
- metatrader_service
mt5_bridge:
container_name: mt5_bridge
build:
context: .
dockerfile: docker/DockerFile.mt5_bridge
2023-07-15 22:15:34 +02:00
volumes:
- ./bridge:/bridge
2023-07-13 16:53:03 +02:00
depends_on:
- metatrader_service
- trading_bot
volumes:
ejtraderMT: {}