Skip to content

Latest commit

 

History

History
44 lines (40 loc) · 3.68 KB

README_en.md

File metadata and controls

44 lines (40 loc) · 3.68 KB

Taurus.RegistryCenter is a microservice registry center for asp.net or asp.net core.

中文 | English


# Taurus.RegistryCenter Micro service registration center, using Net Core Example:

1、To pull an image from Docker and run it:

Download the image. The current version released on January 23, 2024 is 3.3.0.1:

docker pull registry.cn-hangzhou.aliyuncs.com/taurus-netcore/taurus.registrycenter:3.3.0.1

After downloading, check the list of downloaded images:

docker images

Run the container, use port 8080 for internal network mapping, and do not enable port 443. [The default listening ports for application packaging and running in the image are: 8080 and 443]:

The following command line replaces [ImageID] with the downloaded image ID

docker run -d -p 8080:8080  --name=rc --security-opt seccomp=unconfined [ImageID]

After startup, check if the container is running properly by using the following command:

docker ps -a 

2、Run as engineering file: Enter the src directory and run the engineering file:

The default runtime environment is the latest. net core 8 version, and the program mainly relies on Taurus The Nuget package for MVC.

You can also create engineering files according to the conditions and reference Taurus The Nuget package for MVC is sufficient, which supports almost all versions of. net and. net core.

3、When the program starts normally:

The default homepage is displayed as 404, and there are no pages to display. You need to manually enter the following website address to enter the background:/admin/login

Default account: admin. If the password is blank, simply click login to enter the backend.

4、Other instructions:

After the program starts, the registration center runs successfully without any additional configuration. Wait for the microservices gateway, registration center (from), or client link to complete.

The program's own access URL needs to ensure that other microservices can access it.

You can view the clients on the connection in/admin/index in the future.

5、Registration center (from) enable (optional):

To ensure high availability of the registration center, you can choose to start the registration center simultaneously (from).

The steps to start the registration center (from) are the same as starting the registration center. Only after starting, you need to enter the management background and configure a link to the registration center

The configuration item is: MicroService Server RcUrl, interface configuration starts with:

6、Taurus.Gateway: Microservices Gateway (Supporting Series)

Gateway usage address:https://github.com/cyq1162/Taurus.Gateway

7、Taurus Microservice client (supporting series)

见:/demo Run an example.

7、For more tutorial addresses, please refer to the author's blog

https://www.cnblogs.com/cyq1162/category/2205668.html