微服务与云原生开发练习项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
trafalgarlwa 398ad7ea98
continuous-integration/drone/push Build is passing Details
chore: config log file path (#18)
3 months ago
account-api feat: add activate account support (#14) 4 months ago
account-svc chore: config log file path (#18) 3 months ago
common-lib feat: add activate account support (#14) 4 months ago
email-api feat: add activate account support (#14) 4 months ago
email-svc chore: config log file path (#18) 3 months ago
k8s update k8s manifest.yaml for development environment and update publish.sh script [SKIP CI] 6 months ago
planck chore: config log file path (#18) 3 months ago
plugins chore: add docker plugin [SKIP CI] (#8) 6 months ago
scripts feat(account-svc, email-svc, web): add create account page (#11) 6 months ago
web feat: add activate account support (#14) 4 months ago
.drone.yml feat(account-svc, email-svc, web): add create account page (#11) 6 months ago
.env.example feat: add activate account support (#14) 4 months ago
.gitignore refactor: use publish-subscribe mode (#16) 4 months ago
LICENSE init project 9 months ago
README.md chore: update Readme.md and docker-compose.yml (#12) 6 months ago
docker-compose.yml chore: update Readme.md and docker-compose.yml (#12) 6 months ago
pom.xml chore: remove edison service (#13) 5 months ago

README.md

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Hosppy 练习版

医院挂号系统,微服务和云原生架构,基于 Spring Boot 和 Kubernetes 技术栈

项目目的

微服务和云原生架构是目前互联网行业的技术热点,相关资料文档很多,但是缺乏系统的学习,为此,通过参考开源项目掌握云原生和微服务开发实践,并且可以一键部署到 Kubernetes 容器云环境。

快速开始

环境变量

您可以通过环境变量配置 Hosppy 的一些设置:

(默认值以粗体显示)

  • SPRING_PROFILES_ACTIVEtest:应用程序运行模式。"dev""test""prod"
  • SERVER_PORT80:应用程序运行时开放端口
  • SIGNING_SECRET"":用户密码加密密钥
  • WEB_DOMAIN"":网站域名地址
  • ACCOUNT_SERVICE_ENDPOINThttp://account-service:账号服务访问端点
  • EMAIL_SERVICE_ENDPOINThttp://email-service:邮件服务访问端点
  • ACCOUNT_DATASOURCE_URL"":账号服务数据库地址
  • ACCOUNT_DATASOURCE_USERNAMEroot:账号服务数据库用户名
  • ACCOUNT_DATASOURCE_PASSWORDroot:账号服务数据库密码
  • ALIYUN_ACCESS_KEY"":阿里云账号 ID
  • ALIYUN_ACCESS_SECRET"":阿里云账号密钥
  • MAIL_FROM"":邮件地址,在阿里云配置
  • MAIL_FROM_NAME"":邮件发件名,在阿里云配置

在开发环境中运行本应用

$ mvn clean package
$ docker-compose up --build

项目技术栈

  • Spring Boot
  • Spring Data JPA
  • Spring MVC + Thymeleaf
  • MySQL
  • Docker Compose
  • Kubernetes

注意

本项目不是一个完整的项目,由于没有实现前端页面,具体的业务逻辑,以及网关鉴权等功能,所以并不能真正的使用,这只是做为我学习云原生与微服务架构开发理念的练习项目。