Overview
- Full name
docker.io/jayfong/yapi- Registry
- docker.io
- Namespace
- jayfong
- Repository
- yapi
- Cached tags
- 18
- Last synced
- 07/13/2026, 03:55 PM
Introduction
YApi 接口管理平台镜像,可视化 API 文档/Mock/测试,前后端协作接口管理与自动化测试 Web 平台。
Details
jayfong/yapi 运行 YApi 开源接口管理平台,提供 API 文档编辑、Mock 数据、自动化测试与团队协作。定位为 API 管理 Web 平台,需 MongoDB;前后端接口协作、Mock 服务或替代 Postman+Swagger 分散工具的私有化方案。
快速启动
docker run -d --name yapi \
-p 3000:3000 \
-e YAPI_ADMIN_ACCOUNT=admin@admin.com \
-e YAPI_ADMIN_PASSWORD=changeme \
docker.io/jayfong/yapi:latest
推荐实践
docker run -d --name yapi \
--restart unless-stopped \
-p 3000:3000 \
-e YAPI_ADMIN_ACCOUNT=admin@admin.com \
-e YAPI_ADMIN_PASSWORD=changeme \
-e YAPI_DB_SERVER=mongo \
docker.io/jayfong/yapi:1.12.0
核心参数说明
-p 3000:3000— YApi Web UIYAPI_DB_SERVER— MongoDB 地址- Mock — 内置 Mock 服务
- 协作 — 团队接口管理
Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: yapi
spec:
replicas: 1
selector:
matchLabels:
app: yapi
template:
metadata:
labels:
app: yapi
spec:
containers:
- name: yapi
image: docker.io/jayfong/yapi:1.12.0
ports:
- containerPort: 3000
envFrom:
- secretRef:
name: yapi-env
---
apiVersion: v1
kind: Service
metadata:
name: yapi
spec:
selector:
app: yapi
ports:
- port: 3000
targetPort: 3000
Secret 存管理员凭据;MongoDB 独立部署。
Latest tags (20)
View all 18 tags →| Tag | Arch | Pushed At | Size | Digest | Sync | Wish | Action |
|---|---|---|---|---|---|---|---|
docker.io/jayfong/yapi :play | linux/amd64 | 2021/10/13 17:11 | 139.7 MB | sha256:81f193297580… | |||
docker.io/jayfong/yapi :1.10.2 | linux/386linux/s390xlinux/arm/v6linux/arm64linux/amd64linux/ppc64lelinux/arm/v7 | 2021/10/13 17:10 | 78.6 MB | sha256:eebe534edf02… | |||
docker.io/jayfong/yapi :latest | linux/386linux/s390xlinux/amd64linux/arm/v6linux/ppc64lelinux/arm/v7linux/arm64 | 2021/10/13 17:10 | 78.6 MB | sha256:eebe534edf02… | |||
docker.io/jayfong/yapi :1.10.1 | linux/386linux/amd64linux/arm/v6linux/arm/v7linux/ppc64lelinux/arm64linux/s390x | 2021/08/30 17:48 | 77.2 MB | sha256:ad0540484981… | |||
docker.io/jayfong/yapi :1.9.3 | linux/s390xlinux/ppc64lelinux/arm/v7linux/arm64linux/amd64linux/arm/v6linux/386 | 2021/07/14 00:23 | 70.8 MB | sha256:924e75a1c476… | |||
docker.io/jayfong/yapi :1.9.2 | linux/386linux/amd64linux/arm/v7linux/arm64linux/ppc64lelinux/arm/v6linux/s390x | 2020/06/10 23:43 | 67.0 MB | sha256:5b96640e48dd… | |||
docker.io/jayfong/yapi :1.9.1 | linux/386linux/amd64linux/ppc64lelinux/arm64linux/arm/v7linux/s390xlinux/arm/v6 | 2020/05/23 19:00 | 67.0 MB | sha256:8f35a2d29d06… | |||
docker.io/jayfong/yapi :play-beta | linux/amd64 | 2020/05/23 03:22 | 134.9 MB | sha256:66a1059a4f17… | |||
docker.io/jayfong/yapi :beta | linux/amd64 | 2020/05/23 03:22 | 73.4 MB | sha256:0c0cc038e45d… | |||
docker.io/jayfong/yapi :1.8.9 | linux/ppc64lelinux/amd64linux/arm/v7linux/arm64linux/386linux/arm/v6linux/s390x | 2020/04/11 23:57 | 115.3 MB | sha256:f67ab4cbc1db… | |||
docker.io/jayfong/yapi :1.8.8 | linux/amd64 | 2020/02/22 12:01 | 112.8 MB | sha256:70c792df1051… | |||
docker.io/jayfong/yapi :1.8.7 | linux/amd64 | 2020/02/06 17:08 | 111.9 MB | sha256:1fc47a984ac0… | |||
docker.io/jayfong/yapi :1.8.5 | linux/amd64 | 2019/10/19 14:49 | 95.0 MB | sha256:b2a0ae73a2bc… | |||
docker.io/jayfong/yapi :1.8.4 | linux/amd64 | 2019/10/03 12:49 | 94.8 MB | sha256:82c8514f65a8… | |||
docker.io/jayfong/yapi :1.8.3 | linux/amd64 | 2019/08/26 15:15 | 95.2 MB | sha256:51ab773b7a19… | |||
docker.io/jayfong/yapi :1.8.2 | linux/amd64 | 2019/08/23 23:18 | 95.3 MB | sha256:ddb05dc55dcb… | |||
docker.io/jayfong/yapi :1.8.1 | linux/amd64 | 2019/08/07 15:02 | 116.1 MB | sha256:c99f0ab07bec… | |||
docker.io/jayfong/yapi :1.8.0 | linux/amd64 | 2019/07/30 00:57 | 116.1 MB | sha256:bc39df6b4f10… |