Sign inSign up

mxchasing/yapi

By mxchasing

Updated about 3 years ago

Available YAPI image, just a backup.

Image
0

819

mxchasing/yapi repository overview

Thanks too much for the repository

You can just take a few steps to install the YAPI.

1.Pull the image to local

2.Prepare the docker-compose.yml, its content as below:

version: '3'

services:
  yapi-web:
    image: mxchasing/yapi:latest
    container_name: yapi-web
    ports:
      - 40001:3000
    environment:
      - [email protected]
      - YAPI_ADMIN_PASSWORD=wupang
      - YAPI_CLOSE_REGISTER=true
      - YAPI_DB_SERVERNAME=127.0.0.1
      - YAPI_DB_PORT=27017
      - YAPI_DB_DATABASE=yapi
      - YAPI_MAIL_ENABLE=true
      - YAPI_MAIL_HOST=smtp.qq.com
      - YAPI_MAIL_PORT=465
      - YAPI_MAIL_FROM=
      - YAPI_MAIL_AUTH_USER=
      - YAPI_MAIL_AUTH_PASS=
      - YAPI_PLUGINS=[{"name":"notifier","options":{"host":"http://localhost:3000"}},{"name":"pl-auto-test","options":{"host":"http://localhost:3000"}},{"name":"interface-oauth2-token"},{"name":"api-watch"}]

    volumes:
      - /Users/vicxu/Desktop/data/db:/data/db
    restart: unless-stopped

Tag summary

Content type

Image

Digest

sha256:d52cf50b0

Size

1.2 GB

Last updated

about 3 years ago

docker pull mxchasing/yapi