Skip to content

Commit

Permalink
Adds MetaTrader 5 terminal service
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
seekersoftec committed Dec 4, 2024
1 parent 6c16934 commit 778f91b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions infrastructure/MetaTrader5/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
services:
metatrader5:
image: docker.io/fortesenselabs/metatrader5-terminal:latest
ports:
- "18812:18812"
- "5900:5900"
environment:
MT5_ACCOUNT_NUMBER: ${MT5_ACCOUNT_NUMBER}
MT5_PASSWORD: ${MT5_PASSWORD}
MT5_SERVER: ${MT5_SERVER}
volumes:
- ./data:/app/data
restart: unless-stopped

0 comments on commit 778f91b

Please sign in to comment.