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

https://github.com/bndynet/spring-cloud-starter

:cloud: A tiny spring cloud project with Eureka and Micro-Service (like OAuth, SSO...)
https://github.com/bndynet/spring-cloud-starter

oauth2-client oauth2-server resource-server spring-boot-2 spring-cloud sso sso-login

Last synced: 16 days ago
JSON representation

:cloud: A tiny spring cloud project with Eureka and Micro-Service (like OAuth, SSO...)

Awesome Lists containing this project

README

          

# Spring Cloud Starter Project

## Requires

- JDK 8

## Components

| SERVICE NAME | PORT | DESCRIPTION |
| --- | :---: | --- |
| **server center** | 9000 | Eureka Server and Spring Boot Admin |
| **server config** | 9010 | Configurations from GitHub Repo |
| **server gateway** | 9020 | Zuul for All Services |
| **service oauth** | 9100 | OAuth Service |
| **service sso** | 9110 | SSO Service |

## Build (Docker and Docker Compose)

Docker Build

> mvn clean package docker:build

And run all instances.

> docker-componse up

Endpoints

```
- eureka server: http://localhost:9000
- spring boot admin: http://localhost:9000/sba
- service gateway: http://localhost:9020//
```

Note: Deploy to tomcat container, please use `mvn clean package -Pwar` to generate war packages.