Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bslota/cloud-config


https://github.com/bslota/cloud-config

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

# About

This is a set of microservices created in order to present how to manage
configuration in a distributed environment. Project consists of following
services:
- Discovery Server
- Product Manager
- Customer Manager
- Gateway
- Config Server

# Building

In order to build all services at once, run following command in project's
root directory:

```
mvn clean install
```

If you want to build services one by one, run the same command in a proper
subdirectory.

# Running

You can run all services on your local machine by performing one of the
following commands in every subdirectory.

_Please note that __Discovery Server__ should be run first_

```
mvn spring-boot:run
```

```
java -jar {application}-{version}.jar
```

Where _{application}_ stands for application name and _{version}_ is
current build version.

## Docker

There is also a _Dockerfile_ prepared for each service and a
_docker-compose.yml_ file in a root directory. In order to setup
whole environment, run:

```
docker-compose up
```