Docker Native Arrangement Tool - compose+consul Cluster+template

Docker Native Layout Tool 1. docker-compose concept The Compose default management object is the project, which manages the life cycle of a set of containers in the project through subcommands. The Compose project is implemented by Python, which calls the API provided by the Docker service to manage containers. Configuration steps 1. Install D ...

Added by myleow on Thu, 16 Jan 2020 01:13:00 +0200

Jenkins builds and publishes Java projects

Article directory Preparation Install maven Building job Publish war package Preparation Clone private warehouse to local: [root@linux01 ~]# git clone git@github.com:AsnFy/test_java.git [root@linux01 ~]# ls test_java/ README.md Download the source code of zrlog for testing: [root@linux01 ~]# wg ...

Added by everknown on Wed, 15 Jan 2020 13:19:35 +0200

swagger2 real time generation of interface documents

Swagger is a standardized and complete framework for generating, describing, invoking, and visualizing RESTful style Web services. The overall goal is to have the client and file system update at the same speed as the server. File methods, parameters, and models are tightly integrated into the server-si ...

Added by webdesco on Tue, 14 Jan 2020 08:37:19 +0200

Several ways to deploy various projects with tomcat + nginx

Several ways to deploy various projects with tomcat + nginx Background introduction Skills list (multi-project deployment) Multiple tomcat environment variable configurations and common part modifications Deploy the zip package using tomcat + nginx.Custom Deployment Directory Deploy the war package ...

Added by kataras on Tue, 14 Jan 2020 03:36:06 +0200

spring boot integration swagger bug1

Today, after writing several interfaces and preparing for testing, I found that swagger hung up. Then report the following unexplained error message There was an unexpected error (type=Method Not Allowed, status=405). Request method 'GET' not supported org.springframework.web.HttpRequestMethodNotSuppo ...

Added by deolsabh on Mon, 13 Jan 2020 14:52:55 +0200

Replacing Zuul with Spring Cloud Gateway to access WebSocket

Reprinted from: https://www.bl-blog.com/a/9/27 Preface The previous project used Zuul gateway, which requires WebSocket, so I have been looking up the Spring Cloud Zuul's tutorials and articles on Forwarding WebSocket requests. I found that Zuul's support for WebSocket is not very friendly. To sum up, ...

Added by alecapone on Mon, 13 Jan 2020 11:42:48 +0200

[introduction] QQ chat robot - HelloWorld

After reading this blog, you will be able to qq message second speed 99+ Build cloud environment (or virtual machine) and deploy qq robot Using springboot to write a simple hello world for your artificial mental retardation inspiration source Viagra's blog Be based on Cool Q A plug-in for coolq-h ...

Added by Orkan on Sat, 11 Jan 2020 16:50:31 +0200

Common commands for Docker container operation

This article is an introduction. This article continues< Common commands for Docker image operation> Software image (e.g. weChat.exe) ---- run image - > generate a container (running software, running wechat program); operation command Explain Function docker run --name container-name -d image-name ...

Added by said_r3000 on Tue, 07 Jan 2020 03:21:38 +0200

Monitoring java programs using jstat autodiscovery

The project has been running for several days and summarizes the reasons: Autodiscover registration monitoring does not understand the principles, and many legacy scripts are not supported before. I don't know the script completely yet, so I'll have to look at it when I have time Or ideas, solutions to the problem tens of millions of ways, d ...

Added by mbaroz on Tue, 07 Jan 2020 01:11:29 +0200

Spring cloud war package deployment causes the service not registered to Nacos normally

Recently, a spring boot project has been connected to microservice, using spring boot 2.1.9.release and spring cloud greenwich.sr3. Local tests are normal, but after going online, there is a situation like this: There is no statement like Nacos registry in the log, and there is no exception information, just like there is no microservice config ...

Added by csteff24 on Mon, 30 Dec 2019 14:49:19 +0200