Skip to content

Commit 778f91b

Browse files
committed
Adds MetaTrader 5 terminal service
Adds a MetaTrader 5 terminal service using the `fortesenselabs/metatrader5-terminal` Docker image. Exposes ports 18812 and 5900, and sets required environment variables for account credentials and server address. Persists data to a volume.
1 parent 6c16934 commit 778f91b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
services:
2+
metatrader5:
3+
image: docker.io/fortesenselabs/metatrader5-terminal:latest
4+
ports:
5+
- "18812:18812"
6+
- "5900:5900"
7+
environment:
8+
MT5_ACCOUNT_NUMBER: ${MT5_ACCOUNT_NUMBER}
9+
MT5_PASSWORD: ${MT5_PASSWORD}
10+
MT5_SERVER: ${MT5_SERVER}
11+
volumes:
12+
- ./data:/app/data
13+
restart: unless-stopped

0 commit comments

Comments
 (0)