Giter Club home page Giter Club logo

air-universe-dockerinstall's Introduction

Air-Universe-DockerInstall

Docker-compose for Air-Universe

安装 Docker

curl -fsSL https://get.docker.com | bash
curl -L "https://github.com/docker/compose/releases/download/1.25.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod a+x /usr/local/bin/docker-compose
# 创建个软链接,以后用 dc 命令来代替 docker-compose
rm -rf which dc  # 若系统中存在 dc 则删除,这个 dc 就是个计算器,完全没有用
ln -s /usr/local/bin/docker-compose /usr/bin/dc

配置配置文件

一般来说,只需要修改 airu.json 中的 panel 部分即可

type: string

您使用的面板类型, 目前支持

url: string

面板的通信地址,确保使用 "http://" 或 "https://" 开始

key: string

面板通信密钥

node_ids: [uint32]

一个数组,每个元素都是你将要部署的nodeId.(多个之间使用逗号分隔)

nodes_type [string]

节点类型,仅在使用v2board时使用,多个节点请依次输入,支持类型

  • vmess - V2Ray(VMess)
  • trojan - Trojan
  • ss - Shadowsocks 请加上引号,多个间用逗号分隔,例子如下
    "nodes_type": ["vmess", "ss"]

启动

dc up -d

多面板对接

  1. cp ./airu.json ./airu2.json
  2. 请参考 配置文件文档 添加 airu 和 airu2 配置文件的 proxy.in_tags 确保tag名称不一样
  3. 请复制 docker-compose.yml 的 airu1 项至最后一行,取名任意(建议airu2).
  4. 修改 airu2中的volumes的第一项配置文件地址到 ./airu2.json:/etc/au/config.json
  5. 启动

已知问题

  1. 在 ipv4 和 ipv6 双栈机器上,只监听 ipv6.

air-universe-dockerinstall's People

Contributors

crossfw 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.