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

Introduction to several ways to introduce CSS in HTML

Table of contents 1. Embed CSS styles directly in...

MySQL GROUP_CONCAT limitation solution

effect: The GROUP_CONCAT function can concatenate...

Install Docker for Windows on Windows 10 Home Edition

0. Background Hardware: Xiaomi Notebook Air 13/In...

Detailed explanation of 8 ways to pass parameters in Vue routing components

When we develop a single-page application, someti...

MySQL 5.7.18 free installation version configuration tutorial

MySQL 5.7.18 free installation version installati...

Ubuntu 16.04 kernel upgrade steps

1. Environment Ubuntu 16.04 running on a virtual ...

Douban website's method for making small changes to website content

<br />Reading is a very important part of th...

The principle and application of ES6 deconstruction assignment

Table of contents Array destructuring assignment ...

MySQL independent index and joint index selection

There is often a lack of understanding of multi-c...

Example code of how to implement pivot table in MySQL/MariaDB

The previous article introduced several methods f...

Detailed explanation of the role of brackets in AngularJS

1. The role of brackets 1.1 Square brackets [ ] W...

Forever+nginx deployment method example of Node site

I recently bought the cheapest Tencent cloud serv...

Example of how to mosaic an image using js

This article mainly introduces an example of how ...

MySQL server 5.7.20 installation and configuration method graphic tutorial

This article records the installation and configu...