Sign inSign up

k8sclub/yapi

By k8sclub

•Updated over 6 years ago

A visualized interface management platform, connecting frontend and backend end and QA engineers.

Image
0

1.5K

k8sclub/yapi repository overview

⁠yapi

YMFE/yapi⁠ is a visualized interface management platform that can be deployed locally, connecting frontend and backend end and QA engineers. https://hellosean1025.github.io/yapi/⁠

This project is created to:

  • build image automaticlly
  • quick start Yapi (docker or kubernetes)

for YMFE/yapi⁠.

⁠Reference

⁠Quick Start

Install Docker see: Get Docker Engine⁠

# Clone
git clone https://github.com/icmdb/yapi.git

# Enter yapi directory
cd yapi

# Pull images: yapi,mongo,mongi-express
docker-compose pull

# This may take 30 seconds for yapi-mongo get ready.
docker-compose up -d

# Remove (Carefully)
docker-compose down
rm -rf ./yapidata

# Restart yapi
docker restart yapi
##  or
docker-compose restart yapi

Then you can access:

NameURLMemo
Yapi⁠http://127.0.0.1:3000⁠Sign up with [email protected]
Mongomongo://127.0.0.1:27017root / Passw0rd4MongoRoot
MongoAdmin⁠http://127.0.0.1:8081⁠yapi / Passw0rd4MongoExpressYapi

Create database yapi Sign up yapi

⁠Deploy in kubernetes

# Set your own domain
YAPI_DOMAIN="domain.com"

git clone [email protected]:icmdb/yapi.git

cd yapi/k8s

grep icmdb.vip -rl ./ | xargs sed -i 's#icmdb.vip#${YAPI_DOMAIN}#g'

kubectl apply -f .

⁠FAQ & Feedback

Feedback here: issues⁠

Try to iterms below if you have problems:

Create database yapi yapi-mongo-express.jpg

⁠Todo List

  • README_CN.md
  • Backup mongodata
  • Yaml for k8s
  • Helm Charts
  • Plugins
    • sso
    • cas
    • oauth2.0
    • rap
    • dingding
    • export-docx-data
    • interface-oauth-token
    • import-swagger-customize

Tag summary

Content type

Image

Digest

Size

286.4 MB

Last updated

over 6 years ago

docker pull k8sclub/yapi