Code Monkey home page Code Monkey logo

holodeck's Introduction

Holodeck Docker Infrastructure

For testing purposes, the docker-compose file provisions two Holodeck servers that are linked. One with a role of sender and the second with the role of receiver.

This requires Docker to be installed and configured.

Running the infrastructure

Use docker-compose up in the same directory as the docker-compose.yml file. This will start two containers:

  1. holodecka: the sender
  2. holodeckb: the receiver

Connect to each container using docker exec -ti holodecka /bin/bash or docker exec -ti holodeckb /bin/bash.

To run a test:

  1. Connect to holodecka using docker exec -ti holodecka /bin/bash
  2. Rename ex-mmd-push-1.processed to x-mmd-push-1.mmd in the /opt/holodeck/data/msg_out directory.
  3. Connect to holodeckb using docker exec -ti holodeckb /bin/bash
  4. Check the directory /opt/holodeck/data/msg_in for the received message

See also the 'Getting Started Guide' of Holodeck.

Dependency

The docker-compose.yml file depends on the mhvdboog/holodeck image. There are some hardcoded values to stand-up a working test environment to send messages from sender to receiver.

Download docker-compose.yml and run docker-compose up, then follow instructions from the Holodeck "Getting Started" guide to copy example data from the holodeck/examples/msgs to holodeck/data/msg_out in the sender container.

Build your own Docker Image

The Dockerfile is an example how to build an image for Holodeck.

The Dockerfile expects a binary distribution of Holodeck to be available in the holodeck subdirectory.

holodeck's People

Contributors

mhvdboog avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.