The image is derived from official golang:1.8-alpine image. Please see Dockerfile for details.
To deploy a complete gochariots cluster, there are 6 components required. For the functionality of each component, please refer to the paper or README.md.
To run the container, simply run docker run --rm --name CONTAINER_NAME -p HOST_PORT:APP_PORT -d fasthall/gochariots gochariots COMMAND
Each component has its own command. Replace COMMAND
above with one of the following commands.
- app [] <num_dc>
- batcher [] <num_dc>
- controller [] <num_dc>
- filter [] <num_dc>
- queue --[no-]hold [] <num_dc>
- maintainer [] <num_dc> []
- indexer [] <num_dc>
Notice that port
needs to be consistent to APP_PORT
in docker command.
If permanent storage is desired, when run gochariots maintainer
, add the following option: -v HOST_DIR:/go/flstore/
.