Skip to content
/ mu-project Public template
forked from mu-semtech/mu-project

Basis for constructing a new project on top of mu.semte.ch

License

Notifications You must be signed in to change notification settings

piemonkey/mu-project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mu-project

Bootstrap a mu.semte.ch microservices environment in three easy steps.

How-To

Quickstart an mu-project

Setting up your environment is done in three easy steps:

  1. First configure the running microservices and their names in docker-compose.yml
  2. Then, configure how requests are dispatched in config/dispatcher.ex
  3. Lastly, simply start the docker-compose.

Warning

Many of the containers used have issues with high limits on open file descriptors, so you might need to work around this

Hooking things up with docker-compose

Alter the docker-compose.yml file so it contains all microservices you need. The example content should be clear, but you can find more information in the Docker Compose documentation. Don't remove the identifier and database container, they are respectively the entry-point and the database of your application. Don't forget to link the necessary microservices to the dispatcher and the database to the microservices.

Configure the dispatcher

Next, alter the file config/dispatcher/dispatcher.ex based on the example that is there by default. Dispatch requests to the necessary microservices based on the names you used for the microservice.

Boot up the system

Boot your microservices-enabled system using docker-compose.

cd /path/to/mu-project
docker-compose up

You can shut down using docker-compose stop and remove everything using docker-compose rm.

Tutorials

To help you find your feet with your first semantic works projects, we've collected a few tutorials.

About

Basis for constructing a new project on top of mu.semte.ch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Common Lisp 64.3%
  • Elixir 35.7%