Initial commit setup with docker

This commit is contained in:
Mike
2023-07-13 16:53:03 +02:00
commit 427079a687
9 changed files with 550 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
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
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
volumes: -./bridge:/bridge
depends_on:
- metatrader_service
- trading_bot
volumes:
ejtraderMT: {}