-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TWS with IBC running in an rdesktop container. #45
Conversation
first running version Changes to be committed: modified: .gitignore modified: .pre-commit-config.yaml new file: Dockerfile.tws.template new file: image-files/tws-scripts/start_session.sh new file: latest/Dockerfile.tws new file: latest/tws-scripts/start_session.sh new file: tws-docker-compose.yml
could you please check this branch? you would need to # pull code
git close https://github.com/gnzsnz/ib-gateway-docker
cd ib-gateway-docker
git switch tws-desktop
# run container
docker compose -f tws-docker-compose.yml up Based on #43 I explored further the idea of using docker-rdesktop, and I have a very first working version. the only thing that is working is the desktop environment it self, IBC and TWS. not much more at the moment. but is a good starting point. If you could review this and provide feedback I would appreciate, after all it was your original idea to run TWS on the container. this will be a different container that ib-gateway-docker, but the codebase if common. I just needed a start-up script for docker-rdesktop and a really simple |
Open points
|
Changes to be committed: modified: docker-compose.yml modified: image-files/config/ibc/config.ini.tmpl
- logic to switch from user to abc user - defined common logic between ibgateway and tws in common.sh - defined logic to default ports based on image type ibgateway/tws and paper/live trading mode - implemented CUSTOM_CONFIG logic for tws On branch tws-desktop Changes to be committed: modified: docker-compose.yml modified: latest/Dockerfile modified: latest/Dockerfile.tws new file: latest/scripts/common.sh modified: latest/scripts/port_forwarding.sh modified: latest/scripts/run.sh new file: latest/tws-scripts/run_tws.sh modified: latest/tws-scripts/start_session.sh modified: tws-docker-compose.yml Changes not staged for commit: modified: image-files/tws-scripts/start_session.sh modified: latest/scripts/run.sh modified: latest/tws-scripts/start_session.sh
fix socat
update image-files scripts and config files Changes to be committed: modified: Dockerfile.template modified: Dockerfile.tws.template new file: image-files/scripts/common.sh modified: image-files/scripts/port_forwarding.sh modified: image-files/scripts/run.sh new file: image-files/tws-scripts/run_tws.sh modified: image-files/tws-scripts/start_session.sh modified: update.sh
keep up-to-date with changes going to main
sorry for my late answer, too busy at work these days :-( |
edit tws-docker-compose.yml and comment out these lines
it's a recommended setting, but it's optional. |
error message on log
missing ubuntu packages |
update github actions to support ibgateway and tws-rdesktop images Changes to be committed: new file: .github/workflows/build.yml new file: .github/workflows/on-push-n-pr.yml modified: .github/workflows/publish.yml modified: image-files/tws-scripts/run_tws.sh modified: latest/tws-scripts/run_tws.sh modified: tws-docker-compose.yml modified: update.sh
Changes to be committed: modified: image-files/tws-scripts/run_tws.sh
kill xfce session ssh-agent and gpg-agent include chromiun dependencies libnspr4 libnss3 avoid duplicate ssh tunnel and agent on tws restart Changes to be committed: modified: docker-compose.yml modified: image-files/config/ibc/config.ini.tmpl modified: latest/Dockerfile.tws modified: latest/config/ibc/config.ini.tmpl modified: latest/scripts/common.sh modified: latest/scripts/port_forwarding.sh modified: latest/tws-scripts/run_tws.sh modified: latest/tws-scripts/start_session.sh modified: tws-docker-compose.yml
align image-files with latest
fix socat start after tws restart. don't re-start if already running add messages to run.sh Changes to be committed: modified: latest/scripts/common.sh modified: latest/scripts/port_forwarding.sh modified: latest/scripts/run.sh
Changes to be committed: modified: tws-docker-compose.yml
This fixed the same issue happens when running |
If you get an error due to /dev/dri, you have 2 options, comment out that
line in compose file. Or enable it on your host.
…On Sat, 27 Jan 2024 at 19:28 Stefan S. ***@***.***> wrote:
Error response from daemon: error gathering device information while
adding custom device "/dev/dri": no such file or directory
edit tws-docker-compose.yml and comment out these lines
devices:
- /dev/dri:/dev/dri #optional
it's a recommended setting, but it's optional.
This fixed the same issue I see when I run docker compose up on
https://github.com/gnzsnz/ib-gateway-docker/blob/master/tws-docker-compose.yml
on the main channel.
—
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB75CQTKYK2PYFRV32ORB23YQVBM3AVCNFSM6AAAAAA7VDPUZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGI4DIOBQGE>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
first running version
Changes to be committed:
modified: .gitignore
modified: .pre-commit-config.yaml
new file: Dockerfile.tws.template
new file: image-files/tws-scripts/start_session.sh
new file: latest/Dockerfile.tws
new file: latest/tws-scripts/start_session.sh
new file: tws-docker-compose.yml
to use it