mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 04:42:33 +02:00
doc: checkout README from main
This commit is contained in:
parent
b427ff1f88
commit
e107f8d476
2 changed files with 36 additions and 31 deletions
44
README.md
44
README.md
|
@ -5,6 +5,7 @@
|
||||||
[](https://sonarcloud.io/summary/new_code?id=yusing_godoxy)
|
[](https://sonarcloud.io/summary/new_code?id=yusing_godoxy)
|
||||||

|

|
||||||
[](https://sonarcloud.io/summary/new_code?id=yusing_godoxy)
|
[](https://sonarcloud.io/summary/new_code?id=yusing_godoxy)
|
||||||
|

|
||||||
[](https://discord.gg/umReR62nRd)
|
[](https://discord.gg/umReR62nRd)
|
||||||
|
|
||||||
A lightweight, simple, and [performant](https://github.com/yusing/godoxy/wiki/Benchmarks) reverse proxy with WebUI.
|
A lightweight, simple, and [performant](https://github.com/yusing/godoxy/wiki/Benchmarks) reverse proxy with WebUI.
|
||||||
|
@ -13,10 +14,6 @@ For full documentation, check out **[Wiki](https://github.com/yusing/godoxy/wiki
|
||||||
|
|
||||||
**EN** | <a href="README_CHT.md">中文</a>
|
**EN** | <a href="README_CHT.md">中文</a>
|
||||||
|
|
||||||
<!-- [](https://sonarcloud.io/summary/new_code?id=yusing_go-proxy)
|
|
||||||
[](https://sonarcloud.io/summary/new_code?id=yusing_go-proxy)
|
|
||||||
[](https://sonarcloud.io/summary/new_code?id=yusing_go-proxy) -->
|
|
||||||
|
|
||||||
<img src="screenshots/webui.jpg" style="max-width: 650">
|
<img src="screenshots/webui.jpg" style="max-width: 650">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,6 +24,7 @@ For full documentation, check out **[Wiki](https://github.com/yusing/godoxy/wiki
|
||||||
|
|
||||||
- [GoDoxy](#godoxy)
|
- [GoDoxy](#godoxy)
|
||||||
- [Table of content](#table-of-content)
|
- [Table of content](#table-of-content)
|
||||||
|
- [Running demo](#running-demo)
|
||||||
- [Key Features](#key-features)
|
- [Key Features](#key-features)
|
||||||
- [Prerequisites](#prerequisites)
|
- [Prerequisites](#prerequisites)
|
||||||
- [How does GoDoxy work](#how-does-godoxy-work)
|
- [How does GoDoxy work](#how-does-godoxy-work)
|
||||||
|
@ -38,25 +36,29 @@ For full documentation, check out **[Wiki](https://github.com/yusing/godoxy/wiki
|
||||||
- [Folder structrue](#folder-structrue)
|
- [Folder structrue](#folder-structrue)
|
||||||
- [Build it yourself](#build-it-yourself)
|
- [Build it yourself](#build-it-yourself)
|
||||||
|
|
||||||
|
## Running demo
|
||||||
|
|
||||||
|
<https://godoxy.demo.6uo.me>
|
||||||
|
|
||||||
|
[](https://zeabur.com/referral?referralCode=yusing&utm_source=yusing&utm_campaign=oss)
|
||||||
|
|
||||||
## Key Features
|
## Key Features
|
||||||
|
|
||||||
- Easy to use
|
- Easy to use
|
||||||
- Effortless configuration
|
- Effortless configuration
|
||||||
- Simple multi-node setup with GoDoxy agents or Docker Socket Proxies
|
- Simple multi-node setup with GoDoxy agents or Docker Socket Proxies
|
||||||
- Error messages is clear and detailed, easy troubleshooting
|
- Error messages is clear and detailed, easy troubleshooting
|
||||||
- Auto SSL with Let's Encrypt (See [Supported DNS-01 Challenge Providers](https://github.com/yusing/go-proxy/wiki/Supported-DNS%E2%80%9001-Providers))
|
- **Auto SSL** with Let's Encrypt (See [Supported DNS-01 Challenge Providers](https://github.com/yusing/go-proxy/wiki/Supported-DNS%E2%80%9001-Providers))
|
||||||
- Auto hot-reload on container state / config file changes
|
- **Auto hot-reload** on container state / config file changes
|
||||||
- Container aware: create routes dynamically from running docker containers
|
- **Container aware**: create routes dynamically from running docker containers
|
||||||
- **idlesleeper**: stop and wake containers based on traffic _(optional, see [screenshots](#idlesleeper))_
|
- **idlesleeper**: stop and wake containers based on traffic _(optional, see [screenshots](#idlesleeper))_
|
||||||
- HTTP reserve proxy and TCP/UDP port forwarding
|
- HTTP reserve proxy and TCP/UDP port forwarding
|
||||||
- OpenID Connect integration: SSO and secure your apps easily
|
- **OpenID Connect integration**: SSO and secure your apps easily
|
||||||
- [HTTP middleware](https://github.com/yusing/go-proxy/wiki/Middlewares) and [Custom error pages support](https://github.com/yusing/go-proxy/wiki/Middlewares#custom-error-pages)
|
- [HTTP middleware](https://github.com/yusing/go-proxy/wiki/Middlewares) and [Custom error pages support](https://github.com/yusing/go-proxy/wiki/Middlewares#custom-error-pages)
|
||||||
- **Web UI with App dashboard, config editor, _uptime and system metrics_, _docker logs viewer_**
|
- **Web UI with App dashboard, config editor, _uptime and system metrics_, _docker logs viewer_**
|
||||||
- Supports linux/amd64 and linux/arm64
|
- Supports **linux/amd64** and **linux/arm64**
|
||||||
- Written in **[Go](https://go.dev)**
|
- Written in **[Go](https://go.dev)**
|
||||||
|
|
||||||
[🔼Back to top](#table-of-content)
|
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
Setup Wildcard DNS Record(s) for machine running `GoDoxy`, e.g.
|
Setup Wildcard DNS Record(s) for machine running `GoDoxy`, e.g.
|
||||||
|
@ -71,13 +73,17 @@ Setup Wildcard DNS Record(s) for machine running `GoDoxy`, e.g.
|
||||||
3. Create a route if applicable (a route is like a "Virtual Host" in NPM)
|
3. Create a route if applicable (a route is like a "Virtual Host" in NPM)
|
||||||
4. Watch for container / config changes and update automatically
|
4. Watch for container / config changes and update automatically
|
||||||
|
|
||||||
GoDoxy uses the label `proxy.aliases` as the subdomain(s), if unset it defaults to the `container_name` field in docker compose.
|
> [!NOTE]
|
||||||
|
> GoDoxy uses the label `proxy.aliases` as the subdomain(s), if unset it defaults to the `container_name` field in docker compose.
|
||||||
For example, with the label `proxy.aliases: qbt` you can access your app via `qbt.domain.com`.
|
>
|
||||||
|
> For example, with the label `proxy.aliases: qbt` you can access your app via `qbt.domain.com`.
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
**NOTE:** GoDoxy is designed to be (and only works when) running in `host` network mode, do not change it. To change listening ports, modify `.env`.
|
> [!NOTE]
|
||||||
|
> GoDoxy is designed to be running in `host` network mode, do not change it.
|
||||||
|
>
|
||||||
|
> To change listening ports, modify `.env`.
|
||||||
|
|
||||||
1. Prepare a new directory for docker compose and config files.
|
1. Prepare a new directory for docker compose and config files.
|
||||||
|
|
||||||
|
@ -87,11 +93,7 @@ For example, with the label `proxy.aliases: qbt` you can access your app via `qb
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/yusing/godoxy/main/scripts/setup.sh)"
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/yusing/godoxy/main/scripts/setup.sh)"
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Start the container `docker compose up -d` and wait for it to be ready
|
3. You may now do some extra configuration on WebUI `https://godoxy.yourdomain.com`
|
||||||
|
|
||||||
4. You may now do some extra configuration on WebUI `https://godoxy.yourdomain.com`
|
|
||||||
|
|
||||||
[🔼Back to top](#table-of-content)
|
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
@ -124,8 +126,6 @@ For example, with the label `proxy.aliases: qbt` you can access your app via `qb
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
[🔼Back to top](#table-of-content)
|
|
||||||
|
|
||||||
## Manual Setup
|
## Manual Setup
|
||||||
|
|
||||||
1. Make `config` directory then grab `config.example.yml` into `config/config.yml`
|
1. Make `config` directory then grab `config.example.yml` into `config/config.yml`
|
||||||
|
|
|
@ -5,16 +5,13 @@
|
||||||
[](https://sonarcloud.io/summary/new_code?id=yusing_go-proxy)
|
[](https://sonarcloud.io/summary/new_code?id=yusing_go-proxy)
|
||||||

|

|
||||||
[](https://sonarcloud.io/summary/new_code?id=yusing_go-proxy)
|
[](https://sonarcloud.io/summary/new_code?id=yusing_go-proxy)
|
||||||
[](https://discord.gg/umReR62nRd)
|

|
||||||
|
[](https://discord.gg/umReR62nRd)
|
||||||
|
|
||||||
輕量、易用、 [高效能](https://github.com/yusing/godoxy/wiki/Benchmarks),且帶有主頁和配置面板的反向代理
|
輕量、易用、 [高效能](https://github.com/yusing/godoxy/wiki/Benchmarks),且帶有主頁和配置面板的反向代理
|
||||||
|
|
||||||
完整文檔請查閱 **[Wiki](https://github.com/yusing/godoxy/wiki)**(暫未有中文翻譯)
|
完整文檔請查閱 **[Wiki](https://github.com/yusing/godoxy/wiki)**(暫未有中文翻譯)
|
||||||
|
|
||||||
<!-- [](https://sonarcloud.io/summary/new_code?id=yusing_go-proxy)
|
|
||||||
[](https://sonarcloud.io/summary/new_code?id=yusing_go-proxy)
|
|
||||||
[](https://sonarcloud.io/summary/new_code?id=yusing_go-proxy) -->
|
|
||||||
|
|
||||||
<a href="README.md">EN</a> | **中文**
|
<a href="README.md">EN</a> | **中文**
|
||||||
|
|
||||||
<img src="https://github.com/user-attachments/assets/4bb371f4-6e4c-425c-89b2-b9e962bdd46f" style="max-width: 650">
|
<img src="https://github.com/user-attachments/assets/4bb371f4-6e4c-425c-89b2-b9e962bdd46f" style="max-width: 650">
|
||||||
|
@ -27,6 +24,7 @@
|
||||||
|
|
||||||
- [GoDoxy](#godoxy)
|
- [GoDoxy](#godoxy)
|
||||||
- [目錄](#目錄)
|
- [目錄](#目錄)
|
||||||
|
- [運行示例](#運行示例)
|
||||||
- [主要特點](#主要特點)
|
- [主要特點](#主要特點)
|
||||||
- [前置需求](#前置需求)
|
- [前置需求](#前置需求)
|
||||||
- [安裝](#安裝)
|
- [安裝](#安裝)
|
||||||
|
@ -37,6 +35,12 @@
|
||||||
- [監控](#監控)
|
- [監控](#監控)
|
||||||
- [自行編譯](#自行編譯)
|
- [自行編譯](#自行編譯)
|
||||||
|
|
||||||
|
## 運行示例
|
||||||
|
|
||||||
|
<https://godoxy.demo.6uo.me>
|
||||||
|
|
||||||
|
[](https://zeabur.com/referral?referralCode=yusing&utm_source=yusing&utm_campaign=oss)
|
||||||
|
|
||||||
## 主要特點
|
## 主要特點
|
||||||
|
|
||||||
- 容易使用
|
- 容易使用
|
||||||
|
@ -65,7 +69,10 @@
|
||||||
|
|
||||||
## 安裝
|
## 安裝
|
||||||
|
|
||||||
**注意:** GoDoxy 設計為(且僅在)`host` 網路模式下運作,請勿更改。如需更改監聽埠,請修改 `.env`。
|
> [!NOTE]
|
||||||
|
> GoDoxy 僅在 `host` 網路模式下運作,請勿更改。
|
||||||
|
>
|
||||||
|
> 如需更改監聽埠,請修改 `.env`。
|
||||||
|
|
||||||
1. 準備一個新目錄用於 docker compose 和配置文件。
|
1. 準備一個新目錄用於 docker compose 和配置文件。
|
||||||
|
|
||||||
|
@ -75,9 +82,7 @@
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/yusing/godoxy/main/scripts/setup.sh)"
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/yusing/godoxy/main/scripts/setup.sh)"
|
||||||
```
|
```
|
||||||
|
|
||||||
3. 啟動容器 `docker compose up -d` 並等待就緒
|
3. 現在可以在 WebUI `https://godoxy.yourdomain.com` 進行額外配置
|
||||||
|
|
||||||
4. 現在可以在 WebUI `https://godoxy.yourdomain.com` 進行額外配置
|
|
||||||
|
|
||||||
[🔼回到頂部](#目錄)
|
[🔼回到頂部](#目錄)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue