Skip to content

Commit

Permalink
misc doc updates and compose fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bonedaddy committed Aug 16, 2021
1 parent ce9acd7 commit be1d930
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
target/

serum_crank.tar.gz

payer.json
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# serum-crank

Docker image for serum crank using maximal rust compiler optimizations. See [serum's licese file](https://github.com/project-serum/serum-dex/blob/v0.4.0/LICENSE) for the license of the source code.

# Docker Image

A docker image that allows running the crank service through a docker container. Image is designed to be used with docker buildkit to enable as much caching as possible to reduce build times. For those wishing to crank multiple markets at once, a docker compose file may be used.
Expand All @@ -21,6 +22,7 @@ Docker image will be available locally as `serum-crank:latest` or as a gzip comp
## Configuration

* `NUMWORKERS` - defines the maximum workers for a crank
* `LOGDIRECTORY` - defines the file to store logs in, not the actual directory

## Docker Compose

Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ services:
tulip:
image: serum-crank:latest
environment:
COINWALLET: "DUMMY"
PCWALLET: "DUMMY"
COINWALLET: "DhLZthVn5sr8K16TLDAKZdAPv9VXwhKxJzRizaYgp614"
PCWALLET: "DhLZthVn5sr8K16TLDAKZdAPv9VXwhKxJzRizaYgp614"
EVENTSPERWORKER: 5
LOGDIR: /logdir
LOGDIR: /tmp/crank.log
MARKET: "8GufnKq7YnXKhnB3WNhgy5PzU9uvHbaaRrZWQK6ixPxW"
NUMACCOUNTS: 5
NUMWORKERS: 1
Expand Down

0 comments on commit be1d930

Please sign in to comment.