Public Repository

Last pushed: 10 months ago
Short Description
Forklift Server
Full Description

Deploy a set of consumers in a wrapped container using this example Dockerfile.

FROM dcshock/forklift:1.1

# Add jar'd binks projects to the deployment directory

# See file below
ADD /opt/
CMD ["/opt/"]

Create a file to start the server with your parameters.

cd /usr/local/forklift
forklift-server tcp:// /usr/local/forklift/consumers

Note that forklift server starts with 2 parameters.
1) The connection string to activemq
2) The location of the consumers that will be monitored. Your consumer should be added to that directory. Note that these environment variables are present.

ENV FORKLIFT_HOME /usr/local/forklift
ENV FORKLIFT_CONSUMER_HOME /usr/local/forklift/consumers
Docker Pull Command