Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madnificent/wiki-backend
Backend of a wiki based on mu.semte.ch
https://github.com/madnificent/wiki-backend
musemtech wiki
Last synced: 5 days ago
JSON representation
Backend of a wiki based on mu.semte.ch
- Host: GitHub
- URL: https://github.com/madnificent/wiki-backend
- Owner: madnificent
- License: mit
- Created: 2017-02-05T19:08:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-07T23:00:26.000Z (almost 8 years ago)
- Last Synced: 2024-08-01T12:21:05.449Z (3 months ago)
- Topics: musemtech, wiki
- Language: Common Lisp
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - madnificent/wiki-backend - Backend of a wiki based on mu.semte.ch (others)
README
# mu-project
Bootstrap a mu.semte.ch microservices environment in three easy steps.
## How to
Setting up your environment is done in three easy steps: first you configure the running microservices and their names in `docker-compose.yml`, then you configure how requests are dispatched in `config/dispatcher.ex`, and lastly you start everything.
### 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](https://docs.docker.com/compose/). Don't remove the `identifier` and `db` 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.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 upYou can shut down using `docker-compose stop` and remove everything using `docker-compose rm`.