GithubHelp home page GithubHelp logo

marcoligf / webapp.io-deploy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 3kmfi6hp/webapp.io-deploy

0.0 0.0 0.0 16 KB

关联项目

Home Page: https://github.com/3Kmfi6HP/argo-airport-paas

License: MIT License

Dockerfile 100.00%

webapp.io-deploy's Introduction

webapp.io-deploy

设置 secret 环境变量部署到 webapp.io https://webapp.io/{你的GitHub用户名}/secrets

部署项目 https://webapp.io/{你的GitHub用户名}/deployments

Deploy a new site 按钮 下载你 fork的本项目部署

环境变量说明

Nezha 的端口设置为 443 就会自动加 --tls

如果不使用的环境变量 可以删除 SECRET ENV 一行 例如不使用 v2board

# Layerfile
# ...
RUN docker run -d -p 80:3000 --name container   \
    -e ARGO_AUTH=$ARGO_AsUTH \
    -e ARGO_DOMAIN=$ARGO_DOMAIN  \
    -e NEZHA_KEY=$NEZHA_KEY     \
    -e NEZHA_PORT=$NEZHA_PORT      \
    -e NEZHA_SERVER=$NEZHA_SERVER       \
    -e PORT=$PORT          \
    ghcr.io/3kmfi6hp/argo-airport-paas:main
    # ...

原来的

# Layerfile
# ...
RUN docker run -d -p 80:3000 --name container   \
    -e ARGO_AUTH=$ARGO_AUTH \
    -e ARGO_DOMAIN=$ARGO_DOMAIN  \
    -e NEZHA_KEY=$NEZHA_KEY     \
    -e NEZHA_PORT=$NEZHA_PORT      \
    -e NEZHA_SERVER=$NEZHA_SERVER       \
    -e PORT=$PORT          \
    -e TARGET_HOSTNAME_URL=$TARGET_HOSTNAME_URL   \
    -e API_HOST=$API_HOST         \
    -e API_KEY=$API_KEY       \
    -e NODE_ID=$NODE_ID         \
    ghcr.io/3kmfi6hp/argo-airport-paas:main
    # ...
# 以下为 cloudflared 相关配置
SECRET ENV ARGO_AUTH      # Argo 项目的认证信息TOKEN
SECRET ENV ARGO_DOMAIN    # Argo 访问项目的域名
# 以下为 Nezha 相关配置
SECRET ENV NEZHA_KEY      # Nezha 的 key
SECRET ENV NEZHA_PORT     # Nezha 的服务端口
SECRET ENV NEZHA_SERVER   # Nezha 的服务地址
SECRET ENV PORT           # 容器内服务的端口 一般设置 3000
SECRET ENV TARGET_HOSTNAME_URL # 代理目标主机的网址 不使用 v2board 设置 http://127.0.0.1:8081
SECRET ENV MAX_MEMORY_RESTART # PM2重启时的内存阈值
# 以下为 v2board 相关配置
SECRET ENV API_HOST       # v2board API 服务的域名URL
SECRET ENV API_KEY        # v2board API 的 access key
SECRET ENV CERT_DOMAIN    # v2board 证书的域名
SECRET ENV NODE_ID        # v2board 节点 ID

选择添加

SECRET ENV SSH_PUB_KEY # 设置Public Key 用于ssh连接 一般不需要设置 除非你需要ssh连接 ssh-rsa AAAAB3NzaC1yc2EAAA...
SECRET ENV TUNNEL_TRANSPORT_PROTOCOL # 设置cloudflared 传输协议 默认为 quic 可选 http2

webapp.io-deploy's People

Contributors

3kmfi6hp avatar marcoligf 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.