Closed devinat1 closed 1 year ago
Ok, to fix this issue, I removed the "api_key_file": "coinbasepro.key" from the config.json since docker uses volumes in the case of docker compose. However, now I am met with a new problem which is that if I attempt to create the volume:
- ./market/BTCUSD/pycryptobot.log:/app/pycryptobot.log
I am hit with a "Error response from daemon: not a directory". I have searched around and don't know how to resolve this. My fix was to simply remove that volume in the docker-compose yaml but am not sure if that creates unintended consequences.
./market/BTCUSD/pycryptobot.log
is a directory on your filesystem.
Stop docker container
delete ./market/BTCUSD/pycryptobot.log
create ./market/BTCUSD/pycryptobot.log
as an empty file
restart docker container
Following the exact steps as listed in the documentation for docker-compose with pycryptobot, I am getting a: FileNotFoundError: [Errno 2] No such file or directory: 'coinbase.key'
This is my docker-compose.yml:
And my tree in the market folder:
The full error:
The command I entered: docker compose up -d Environment: Ubuntu 20.4 WSL with Docker Desktop on Windows 11 Latest pycryptobot version pulled from official branch (6.0.0)
Config.json:
Full tree in pycryptobot: