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...)
- Host: GitHub
- URL: https://github.com/bndynet/spring-cloud-starter
- Owner: bndynet
- Created: 2018-01-15T08:12:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-03-31T19:55:15.000Z (about 4 years ago)
- Last Synced: 2025-03-08T08:00:29.065Z (over 1 year ago)
- Topics: oauth2-client, oauth2-server, resource-server, spring-boot-2, spring-cloud, sso, sso-login
- Language: Java
- Homepage:
- Size: 291 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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.