Commit graph

1 commit

Author SHA1 Message Date
Pradyumna Kaushik
553c1f697c Added docker-compose.yaml file.
The following services are run.
1. zookeeper - docker image rdelvalle/zookeeper
2. mesos-master - docker image rdelvalle/mesos-master:1.5.1
3. mesos-agent - docker image pkaushi1/mesos-agent-elektron:1.5.1.
	This container was created using rdelvalle/mesos:1.5.1 as the
	base layer. Performance Co-Pilot is installed in the agent to
	allow for logging of metrics.
4. elektron - docker image pkaushi1/elektron:v1.
	This container has environment to run elektron.
	Performance Co-Pilot is installed.
	Note that the current directory is mounted into the container to
	facilitate testing changes without the need to commit.

By default, the following command-line options are used when running
elektron.
1 -w -> workload
2. -m -> mesos master location
3. -p -> log directory prefix

Any other command-line options can be specified using the 'command'
element in the docker-compose yaml file. These will be appended to the
entrypoint command when running elektron.

Important Note
--------------
Prior to running 'docker-compose up' build the elektron executable using
the command 'go build -o <executable>'. That way, the executable is
available within the container as the present working directory is mounted.
2019-10-25 02:22:49 -04:00