Skip to content

yarden-livnat/recyclus-services

Repository files navigation

Recyclus services

A microservices-based system for running remote Cyclus simulations. The system consist of several microservices:

This repository contains docker files for running recyclus-services in various configurations on a single machine or on a cluster using docker swarm.

Dependencies

Quick Start

  • Setup base environment: make prod
  • Start the services: docker-compose -f docker-compose.yml up -d
  • Stop the services: docker-compose down

To interact with the services use python package: Recyclus

Development

Set up the development environment: make dev. This will Create ./services directory and clone the micoservices projects from github.

  • Start the services: docker-compose up
  • Stop the services: docker-compose down

In this setup, each service container will mount the appropriate "./services/SERVICE" code directory.

Distributed Deployment

Distributed deployment is done using docker swarm.

To use docker swam on a single machine

  • start: make start
  • stop: make stop
  • exit swarm mode: make exit

In order to deploy on multiple machine you'll need to modify and adapt docker-stack.yml