Skip to content
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

Merged
merged 17 commits into from
Nov 26, 2023
Merged

TWS with IBC running in an rdesktop container. #45

merged 17 commits into from
Nov 26, 2023

Commits on Nov 21, 2023

  1. TWS with IBC running in an rdesktop container.

    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
    gnzsnz committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    99e319f View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. consolidated changes from PR #43

    Changes to be committed:
    	modified:   docker-compose.yml
    	modified:   image-files/config/ibc/config.ini.tmpl
    gnzsnz committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    cdcd0a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6163a9d View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. fixed several missing components

    - 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
    gnzsnz committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    069f084 View commit details
    Browse the repository at this point in the history
  2. implement SSH for rdp

    fix socat
    gnzsnz committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    fdb2fc8 View commit details
    Browse the repository at this point in the history
  3. align templates for Docker

    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
    gnzsnz committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    38b4d4f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6312c20 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2023

  1. fix typo on template_README

    gnzsnz committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    5261b91 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'pr_43' into tws-desktop

    keep up-to-date with changes going to main
    gnzsnz committed Nov 24, 2023
    Configuration menu
    Copy the full SHA
    461e99e View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2023

  1. disable gpg-agent and ssh-agent

    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
    gnzsnz committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    e9b5d44 View commit details
    Browse the repository at this point in the history
  2. run linters

    gnzsnz committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    10f1c20 View commit details
    Browse the repository at this point in the history
  3. kill agents

    Changes to be committed:
    	modified:   image-files/tws-scripts/run_tws.sh
    gnzsnz committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    936371e View commit details
    Browse the repository at this point in the history
  4. set timezone

    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
    gnzsnz committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    547053d View commit details
    Browse the repository at this point in the history
  5. update workflows

    align image-files with latest
    gnzsnz committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    b49acb9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5f45e80 View commit details
    Browse the repository at this point in the history
  7. fix ssh-agent env file, store it in $HOME rather than hardcoded home

    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
    gnzsnz committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    13a326a View commit details
    Browse the repository at this point in the history
  8. set tws-docker-compose.yml

    Changes to be committed:
    	modified:   tws-docker-compose.yml
    gnzsnz committed Nov 26, 2023
    Configuration menu
    Copy the full SHA
    43bc867 View commit details
    Browse the repository at this point in the history