【docker部署】daed(Dashboard) 内核级高性能透明代理工具- 大鹅 Dashboard WEB项目
相关链接 daed官方仓库 dae基本配置使用 安装docker 脚本安装 sudo curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 启动+自启 systemctl enable docker.service --now 拉取源码 git clone https://github.com/daeuniverse/daed-revived-next.git /opt/daed cd /opt/daed git submodule update --init --recursive dae-wing 配置文件目录会映射到宿主机的 /etc/dae-wing 目录下 cd /opt/daed/wing sudo docker compose up -d 可能出现的错误 14.34 go: updates to go.mod needed; to update it: 14.34 go mod tidy 14.34 make: [Makefile:39: schema-resolver] Error 1 修改 Dockerfile COPY . . # 在该位置上面增加行,删除未使用依赖或者更新依赖以及修复模块 RUN go mod tidy RUN make APPNAME=dae-wing VERSION= $VERSION 直接修改 sed -i '/^RUN make APPNAME=dae-wing VERSION=$VERSION$/i RUN go mod tidy' Dockerfile daed 新增环境变量配置文件 cd /opt/daed/ cat <<EOF> .env.local # ip需要改为你服务器的IP地址 WING_API_URL =http:// 10.10.10.233:2023 HOSTNAME = 0.0.0.0 PORT = 3000 EOF 构建镜像运行 cd /opt/daed sudo docker compose up -d