Teach you the detailed process of installing DOClever with Docker Compose

Teach you the detailed process of installing DOClever with Docker Compose

1. What is Docker Compose and how to install and use it

Click to view my other article: "Installation and Use of Docker Compose"

2. What is DOClever

DOClever is a visual, free and open source interface management tool that can analyze interface structure, verify interface correctness, and improve our collaboration efficiency through a series of automated tools around interface definition documents. DOClever uses JavaScript as our development language for both the front and back ends. The front end uses vue+element UI, and the back end uses express+mongodb. Such a framework integrates the characteristics of high concurrency and fast iteration to ensure the stability and reliability of the system.

Key Features:
• Interface information can be edited and managed, supporting five methods: get, post, put, delete, and patch, supporting https and https protocols, and supporting visual editing of query, body, json, raw, rest, and formdata parameters. At the same time, JSON can be visually edited at unlimited levels. In addition, it has additional features such as status code, code injection, markdown documents, etc.

• During interface debugging and operation, parameters can be encrypted, with options ranging from MD5 to AES. Real-time analysis and comparison of returned parameters and models can be performed to identify inconsistencies and possible problems with the interface. If you don't want to write documents by hand, try the data generation function of the interface, which can generate document information for the data running on the interface with one click.

• Seamless integration of mock, DOClever itself is a mock server. When you set the development status of the interface to completed, the local mock will automatically request the real interface data, otherwise it will return the pre-defined mock data.

• Supports the import of postman, rap, and swagger, which allows you to make seamless migration. It also supports the export of html files, which allows you to browse offline!

• The project version and interface snapshot functions are parallel. You can define versions 1.0, 1.1, and 1.2 for a project, and you can freely switch and roll back between different versions. You no longer have to worry about losing interface information. The interface also has a snapshot function. When you are halfway through developing the interface or the interface requirements change, you can view the previously edited interface information at any time.

• Automated testing function. Currently, most of the interface automation tests of similar platforms on the market are pseudo-automated. They are powerless for a complex scenario, such as obtaining a verification code, logging in, obtaining an order list, and obtaining details of a specific order, which is a series of context-related operations. DOClever's original automated testing function only requires you to write a very small amount of javascript code to complete such a series of operations on the web page. At the same time, DOClever also provides the function of batch executing test cases in the background and sending the results to team members' email addresses, so that you can obtain the running status of the interface in time.

• Team collaboration function. Many similar platforms charge for such functions, but DOClever believes that good things need to be shared. You can create a new team and pull in all the members of the team, group them, assign them relevant projects and permissions, publish team announcements, etc.

The above content is taken from the DOClever official website: http://doclever.cn/controller/read/read.html

If you can't open it, you can click this link: https://www.worldlink.com.cn/en/osdir/doclever.html

3. Steps to install DOClever using Docker Compose

1. Use vi docker-compose.yml to create docker-compose.yml and write the content

version: '2'
services:
  DOClever:
    image: lw96/doclever
    restart: always
    container_name: "DOClever"
    ports:
      - 10000:10000
    volumes:
      - /srv/doclever/file:/root/DOClever/data/file
      - /srv/doclever/img:/root/DOClever/data/img
      - /srv/doclever/tmp:/root/DOClever/data/tmp
    environment:
      - DB_HOST=mongodb://mongo:27017/DOClever
      -PORT=10000
    links:
      - mongo:mongo

  mongo:
    image: mongo:latest
    restart: always
    container_name: "mongodb"
    volumes:
      - /srv/doclever/db:/data/db

2. Start the container using docker-compose up -d

3. Use docker ps -a to view the container startup status

4. Access your server domain name/IP:10000 (if you cannot access it, please check whether the port is open)

5. Enter the management backend, the default account and password are: DOClever

6. For the rest of the detailed instructions on how to use DOClever, please refer to the DOClever official website: http://doclever.cn/controller/read/read.html

If you can't open it, you can click this link: https://www.worldlink.com.cn/en/osdir/doclever.html

This concludes this article about how to install DOClever with Docker Compose. For more information about installing DOClever with Docker Compose, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Detailed tutorial on installing harbor private warehouse using docker compose
  • Docker-compose tutorial installation and quick start
  • Docker-compose installation db2 database operation
  • Detailed installation and use of docker-compose
  • Two simplest ways to install docker-compose
  • Detailed steps for installing and setting up Docker-compose

<<:  Specific use of MySQL global locks and table-level locks

>>:  Advertising skills in the Baidu Union environment (graphic tutorial)

Recommend

Alibaba Cloud ESC Server Docker Deployment of Single Node Mysql

1. Download the accelerated version of msyql dock...

How to manage large file uploads and breakpoint resume based on js

Table of contents Preface Front-end structure Bac...

A brief discussion on the performance issues of MySQL paging limit

MySQL paging queries are usually implemented thro...

Javascript basics about built-in objects

Table of contents 1. Introduction to built-in obj...

Detailed explanation of JavaScript BOM composition and common events

Table of contents 1. BOM 2. Composition of BOM 2....

A brief discussion on ifnull() function similar to nvl() function in MySQL

IFNULL(expr1,expr2) If expr1 is not NULL, IFNULL(...

JavaScript drag time drag case detailed explanation

Table of contents DragEvent Interface DataTransfe...

Detailed explanation of this pointing problem in JavaScript function

this keyword Which object calls the function, and...

Chrome plugin (extension) development guide (complete demo)

Table of contents Written in front Preface What i...

Vue.js manages the encapsulation of background table components

Table of contents Problem Analysis Why encapsulat...

Detailed explanation of Angular routing basics

Table of contents 1. Routing related objects 2. L...