智能API端口转发器——apilighthouse

在部署系统时,经常需要通过查找对照表来一个个获取所需调用的服务所对应的URL?试试apilighthouse吧,他会采用AI来协助你管理你的URL。

apilighthouse/apilighthouse: 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. (github.com)

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

[![Gitter](https://badges.gitter.im/apilighthouse/community.svg)](https://gitter.im/apilighthouse/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值