Mount a dot folder instead of a file for metadata. #65
No reviewers
Labels
No labels
blocked
breaking
bug
dependencies
duplicate
enhancement
good first issue
help wanted
question
tech debt
testing
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
scion/arbitrader!65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "metadata-directory"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #61
If the state file doesn't exist (e.g. on the first run) docker-compose will create a directory with the same name and mount that into the container. The bot will then be unable to write the file when it needs to. This makes a change to
docker-compose.yamland the path for the state file so that we now have a dot directory for Arbitrader which may be empty but can be mounted into the container and the bot will be able to write into it.