Git Product home page Git Product logo

paas_admin's Introduction

PaaS_Admin

用于在各大PaaS平台部署的docker项目,所有配置均提供默认值即可快速部署,也可在运行容器时单独修改

功能介绍

  • 文件浏览器:支持上传,下载,在线预览,文件分享,用户注册,等...
  • shell终端:优秀的交互界面,完整的控制权
  • 代理:基于sing-box通过vless与vmess协议代理
  • 隧道 (入栈):快速隧道,每次重启更换访问链接
  • Warp (出栈):提供密钥即可快速启用

构建并上传镜像

  1. Fork当前仓库
  2. 设置DockerHub账号 (必填):Settings > Secrets and variables > Actions > 添加Secrets变量
    • DOCKERHUB_USERNAME:用户名

    • DOCKERHUB_PASSWORD:密码

    • IMAGE:镜像名称

      • 格式:用户名/任意名称:任意标签
      • 例如:zhangsan/demo:latest
    • 查看截图

      image

  3. 设置默认配置 (选填):Settings > Secrets and variables > Actions > 添加Variables变量
    • 查看截图

      image

  4. 运行工作流:Actions > 构建镜像并推送 > Run workflow > Run workflow
    • 查看截图

      image

  5. 运行完毕后:删除工作流记录,防止配置信息暴露

代理

Vless与Vmess配置

  • 地址:平台提供 / cloudflare隧道
  • 端口:通常为443
  • 用户ID:1eb6e917-774b-4a84-aff6-b058577c60a5
  • 传输协议:ws
  • 路径:
    • Vless路径:/1eb6e917-774b-4a84-aff6-b058577c60a5/vless
    • Vmess路径:/1eb6e917-774b-4a84-aff6-b058577c60a5/vmess
  • 传输层安全:tls
环境变量 默认值 描述 可选
UUID 1eb6e917-774b-4a84-aff6-b058577c60a5 用户ID
PATH_VLESS /${UUID}/vless vless路径
PATH_VMESS /${UUID}/vmess vmess路径

${UUID}为环境变量UUID的值


cloudflare

  • cloudflared tunnel:入栈隧道(内网穿透)
  • warp:出站代理(解锁限制)
环境变量 默认值 描述 可选
TUNNEL 0 是否启用隧道(0否,1是)
WARP_KEY Warp私钥(PrivateKey)
WARP_SERVER engage.cloudflareclient.com Warp服务器(Endpoint)

TUNNEL=1时,容器日志将输出隧道日志(默认输出代理日志)

使用shell终端,重启隧道

tunnel && tunnel -t

使用shell终端,开关warp

# 设置变量(启用)
export WARP_KEY=****
# 删除变量(关闭)
unset WARP_KEY
# 重启代理
proxy

项目访问路径

  • 文件浏览器:/
  • shell终端:/shell
环境变量 默认值 描述 可选
USERNAME admin 用户名
PASSWORD admin 密码

查看日志

  • 隧道
    • 持续输出最新日志:tunnel -t
    • 包含访问链接的日志:tunnel -h
  • 代理
    • 持续输出最新日志:proxy -t

端口

环境变量 默认值 描述 可选
PORT 80 nginx监听端口

服务占用端口:80,7681,8080,2001,2002


镜像源

修改构建时使用的软件包源:提供 sources.list 存放到 main/config

paas_admin's People

Contributors

wgp-2020 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.