https://github.com/itishermann/docker-mt5
https://github.com/itishermann/docker-mt5
docker wine
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/itishermann/docker-mt5
- Owner: itishermann
- Created: 2021-03-24T21:33:27.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-06T05:22:50.000Z (over 1 year ago)
- Last Synced: 2025-04-12T08:52:25.777Z (2 months ago)
- Topics: docker, wine
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/itishermann/docker-mt5
- Size: 74 MB
- Stars: 13
- Watchers: 1
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# MetaTrader 5 in docker container
Based on [wine-x11-novnc-docker](https://hub.docker.com/r/solarkennedy/wine-x11-novnc-docker) by [Kyle Anderson](https://github.com/solarkennedy)
## Usage
```bash
docker run --rm -p 8080:8080 itishermann/docker-mt5
```
Open your browser at http://localhost:8080 and voilà
## Nginx proxy
If you want to use it behind a proxy and use a basic pasword protection for remote access, take a look at [noVNC's Documentation](https://github.com/novnc/noVNC/wiki/Proxying-with-nginx)For the basic http auth, take a look at [Nginx Documentation](https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/)
if using this image
```
server {
server_name ;
auth_basic "Restricted Area";
auth_basic_user_file .htpasswd;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_buffering off;
proxy_read_timeout 61s;
}listen 80;
}```
## Contributing
For security concerns, everyone should bring his own MetaTrader 5 installation foler or installing it from the explorer```bash
# Mounts th mt5 setup file
docker run --rm -p 8080:8080 solarkennedy/wine-x11-novnc-docker -v mt5setup.exe:/root/mt5setup.exe
```## TODO
- [ ] Reduce image size