在部署系统时,经常需要通过查找对照表来一个个获取所需调用的服务所对应的URL?试试apilighthouse吧,他会采用AI来协助你管理你的URL。
docker run -itd -p 20080:80 --name=apilighthouse apilighthouse/apilighthouse
apilighthouse🔭
👋Introduction
Do you often look up tables one by one to get urls when deploying the system offline? Try apilighthouse, which will help you improve efficiency. Uniformly manage all service URL addresses here.
This is a cloud native cross cloud connector base.
Make the delivery personnel no longer need to configure too much content during offline, and improve the product delivery efficiency
⚡Quick Start
Local Version
step1: dependent
Make sure you have docker installed (https://www.docker.com/get-started/)
step2: start-up apilighthouse
docker run -itd -p 20080:80 --name=apilighthouse apilighthouse/apilighthouse
step3: use apilighthouse
Option1: Use the browser to experience the effect of apilighthouse
(Fill in the IP address of the host computer where "apilighthouse" is located)
Option2: Use it in your project
Step1: Place the apilighthouse in the docker-compose.yml file of your project.
version: "1.0"
services:
apilighthouse:
image: apilighthouse/apilighthouse
ports: "20080:8080"
Step2: When writing code in the future, point the URL to the apilighthouse. Ratio: http://apilighthouse/xxxxxxxxxxxxx
Step3: docker-compose up
SaaS Version With GUI
(🤔 This version is still incomplete.Welcome to commit code)
How to configure the forwarding target?
Local Version
How to obtain defined forwarding logic?
GET http://(yours ip):20080/list
(Fill in the IP address of the host computer where "apilighthouse" is located)
How to add or update forwarding logic?
GET http://(yours ip):20080/add?serviceName=xxxxxx&url=xxxxxx&remarks=xxxxxx
Incoming Parameters
name | remarks |
serviceName | Target Code (Any name) |
url | target url |
remarks | alias |
(Fill in the IP address of the host computer where "apilighthouse" is located)
📫 Connect or Commit
This project has more than 10 stars, and I firmly believe that this momentum can be maintained
I hope that after a few years, the product will be widely used in the industry. We can have the opportunity to call you to thank you for your contribution to the code submission of this project, and invite you to join us to share our common victory fruits.
The following content is waiting to be implemented
backend implementation
support GUI
support AI
💬 Question
Why not use DNS?
In the era of docker, the container ip will change constantly. It is not easy to specify the container ip of the DNS server for the Docker container. However, using api lighthouse and docker-compose, a common tool for deployment, can easily implement 0 configuration during private deployment.