Skip to content

Docker: Gekko vs Japonicus containers? #182

@rcoenen

Description

@rcoenen

I fundamentally fail to understand how the Docker setup for Gekko & Japonicus is supposed to work.

  1. Gekko runs in its own container (gekko_1)
  2. Japonicus runs in its own container (japonicus_1)
    From how I understand Docker, this means that Japonicus' python code cannot access anything on the filesystem of the Gekko container and vice versa.

Yet Japonicus does try to access files on the Gekko filesystem:
for example in japonicus/settings/_Global.toml I am supposed to define gekkoPath = '$HOME/gekko'

However the Japonicus container has no access to te Gekko container and I get errors like:

japonicus_1  | Failure to find strategy parameter rules for RSI at ./strategy_parameters
japonicus_1  | Trying to locate strategy parameters at $HOME/gekko/config/strategies/RSI.toml

If I was not using Docker but simply installed gekko + japonicus on my local Mac file system then I could use absolute or relative paths and sure then Japnoicus could access Gekko's files.
But that cannot be done using Docker correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions