260502-Clawith-Docker安装过程

1 项目来源

2 过程显示

bash 复制代码
(base) liuguokai@LiuGuokais-Mac-mini 260502-Clawih-Docker % proxy_on
Proxy ON (7897)
(base) liuguokai@LiuGuokais-Mac-mini 260502-Clawih-Docker % git clone https://github.com/dataelement/Clawith.git
Cloning into 'Clawith'...
remote: Enumerating objects: 14151, done.
remote: Counting objects: 100% (7572/7572), done.
remote: Compressing objects: 100% (1199/1199), done.
remote: Total 14151 (delta 6677), reused 6393 (delta 6370), pack-reused 6579 (from 1)
Receiving objects: 100% (14151/14151), 127.98 MiB | 9.35 MiB/s, done.
Resolving deltas: 100% (10803/10803), done.
(base) liuguokai@LiuGuokais-Mac-mini 260502-Clawih-Docker % ls -al
total 0
drwxr-xr-x   3 liuguokai  staff   96 May  2 22:59 .
drwxr-xr-x   3 liuguokai  staff   96 May  2 22:56 ..
drwxr-xr-x  31 liuguokai  staff  992 May  2 22:59 Clawith
(base) liuguokai@LiuGuokais-Mac-mini 260502-Clawih-Docker % cd Clawith && cp .env.example .env
(base) liuguokai@LiuGuokais-Mac-mini Clawith % ls -al
total 632
drwxr-xr-x  32 liuguokai  staff   1024 May  2 22:59 .
drwxr-xr-x   3 liuguokai  staff     96 May  2 22:59 ..
-rw-r--r--   1 liuguokai  staff   1395 May  2 22:59 .env
-rw-r--r--   1 liuguokai  staff   1395 May  2 22:59 .env.example
drwxr-xr-x  12 liuguokai  staff    384 May  2 22:59 .git
-rw-r--r--   1 liuguokai  staff    274 May  2 22:59 .gitattributes
drwxr-xr-x   5 liuguokai  staff    160 May  2 22:59 .github
-rw-r--r--   1 liuguokai  staff    444 May  2 22:59 .gitignore
drwxr-xr-x   3 liuguokai  staff     96 May  2 22:59 .vite
-rw-r--r--   1 liuguokai  staff   1505 May  2 22:59 AGENTS.md
-rw-r--r--   1 liuguokai  staff  37474 May  2 22:59 AGENT_INTERACTION_PRIORITY_DESIGN.md
-rw-r--r--   1 liuguokai  staff  27984 May  2 22:59 AGENT_MARKET_TEMPLATES_SPEC.md
-rw-r--r--   1 liuguokai  staff  25196 May  2 22:59 AGENT_MARKET_TRADING_SPEC.md
-rw-r--r--   1 liuguokai  staff  34426 May  2 22:59 ARCHITECTURE_SPEC_EN.md
-rw-r--r--   1 liuguokai  staff   5651 May  2 22:59 CLAUDE.md
-rw-r--r--   1 liuguokai  staff      8 May  2 22:59 COMMIT
-rw-r--r--   1 liuguokai  staff   8060 May  2 22:59 CONTRIBUTING.md
-rw-r--r--   1 liuguokai  staff   4140 May  2 22:59 HTTPS_GUIDE.md
-rw-r--r--   1 liuguokai  staff  10765 May  2 22:59 LICENSE
-rw-r--r--   1 liuguokai  staff  12929 May  2 22:59 README.md
-rw-r--r--   1 liuguokai  staff   8698 May  2 22:59 README_es.md
-rw-r--r--   1 liuguokai  staff   9465 May  2 22:59 README_ja.md
-rw-r--r--   1 liuguokai  staff   8631 May  2 22:59 README_ko.md
-rw-r--r--   1 liuguokai  staff  11586 May  2 22:59 README_zh-CN.md
-rw-r--r--   1 liuguokai  staff  14859 May  2 22:59 RELEASE_NOTES.md
drwxr-xr-x   5 liuguokai  staff    160 May  2 22:59 assets
drwxr-xr-x  17 liuguokai  staff    544 May  2 22:59 backend
-rw-r--r--   1 liuguokai  staff   2754 May  2 22:59 docker-compose.yml
drwxr-xr-x  12 liuguokai  staff    384 May  2 22:59 frontend
drwxr-xr-x   5 liuguokai  staff    160 May  2 22:59 helm
-rwxr-xr-x   1 liuguokai  staff  15040 May  2 22:59 restart.sh
-rwxr-xr-x   1 liuguokai  staff  21293 May  2 22:59 setup.sh
(base) liuguokai@LiuGuokais-Mac-mini Clawith % docker compose up -d
zsh: command not found: docker
(base) liuguokai@LiuGuokais-Mac-mini Clawith % docker compose up -d
[+] up 21/21
 ✔ Image redis:7-alpine     Pulled                                                  16.2s
 ✔ Image postgres:15-alpine Pulled                                                  36.8s
[+] Building 513.6s (36/36) FINISHED                                                     
 => [internal] load local bake definitions                                          0.0s
 => => reading from stdin 1.22kB                                                    0.0s
 => [frontend internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 346B                                                0.0s
 => [backend internal] load build definition from Dockerfile                        0.0s
 => => transferring dockerfile: 2.20kB                                              0.0s
 => [backend internal] load metadata for docker.io/library/python:3.12-slim         7.3s
 => [frontend internal] load metadata for docker.io/library/nginx:alpine            6.2s
 => [frontend internal] load metadata for docker.io/library/node:20-alpine          6.3s
 => [auth] library/node:pull token for registry-1.docker.io                         0.0s
 => [auth] library/nginx:pull token for registry-1.docker.io                        0.0s
 => [auth] library/python:pull token for registry-1.docker.io                       0.0s
 => [frontend internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                                     0.0s
 => [frontend build 1/6] FROM docker.io/library/node:20-alpine@sha256:fb4cd12c85e  12.1s
 => => resolve docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0  0.0s
 => => sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb83 7.67kB / 7.67kB  0.0s
 => => sha256:d63c387675b0ec5d7ef0c15b03691ac9f82803a8b30c87de3ce8 1.72kB / 1.72kB  0.0s
 => => sha256:cd266ddf7e80183cbac3cb23b49e90ab83a06f14f95d28681d84 6.54kB / 6.54kB  0.0s
 => => sha256:bda5d7ef971f8ede8ea80002d2ac886ef6807fe32cfe46c38 43.55MB / 43.55MB  11.3s
 => => sha256:13e45b12880fbbfe3554ecf6b70131ace701d0c2fd3e2fb9abb8 1.26MB / 1.26MB  9.9s
 => => sha256:cd322d0ddd02673e6c24a2158d1f12f6ec7c6fd9c0dc67123244d0f 443B / 443B  10.0s
 => => extracting sha256:bda5d7ef971f8ede8ea80002d2ac886ef6807fe32cfe46c38704a7ba0  0.8s
 => => extracting sha256:13e45b12880fbbfe3554ecf6b70131ace701d0c2fd3e2fb9abb842ba2  0.0s
 => => extracting sha256:cd322d0ddd02673e6c24a2158d1f12f6ec7c6fd9c0dc67123244d0f0e  0.0s
 => [frontend stage-1 1/3] FROM docker.io/library/nginx:alpine@sha256:5616878291a2  8.8s
 => => resolve docker.io/library/nginx:alpine@sha256:5616878291a2eed594aee8db4dade  0.0s
 => => sha256:5616878291a2eed594aee8db4dade5878cf7edcb475e591939 10.33kB / 10.33kB  0.0s
 => => sha256:7f7dcd27f920b22e980508bd5009b452e3d30b68c1041aa82e 12.34kB / 12.34kB  0.0s
 => => sha256:910c2a6cad6dc66c2058f7ef9d3dbb2dfded05a92d6ba4d7ebfc 1.89MB / 1.89MB  2.3s
 => => sha256:a89d14ef5abe21dda8850d86d557cfa12c57a34bdcbe1c782fb851ec 628B / 628B  2.0s
 => => sha256:7dd09a6c4f8cab9a2d2cb98fb39790f220e8bc2ea106b2cebde6 2.50kB / 2.50kB  0.0s
 => => sha256:a96b658a00feada62d1fac10d4f49ff5da15023f0e29708ff59127bf 955B / 955B  2.0s
 => => sha256:10cbc192f783597fdf87a6e883b139c1b18228e8ee4313665026137d 403B / 403B  2.7s
 => => sha256:634f1d1ce0f777ef20ee9c698a3022175abda8611de03efb0105 1.21kB / 1.21kB  2.7s
 => => extracting sha256:910c2a6cad6dc66c2058f7ef9d3dbb2dfded05a92d6ba4d7ebfc39fc3  0.0s
 => => sha256:83fbf849ee89c6ab0fe1aadcf6a85dcc275070854ee1ca76ee88 1.40kB / 1.40kB  3.1s
 => => extracting sha256:a89d14ef5abe21dda8850d86d557cfa12c57a34bdcbe1c782fb851ec0  0.0s
 => => extracting sha256:a96b658a00feada62d1fac10d4f49ff5da15023f0e29708ff59127bf7  0.0s
 => => extracting sha256:10cbc192f783597fdf87a6e883b139c1b18228e8ee4313665026137d6  0.0s
 => => sha256:662c8d6f66200adef0cf551c6decc52e200f0a30d11eb04270 19.72MB / 19.72MB  8.5s
 => => extracting sha256:634f1d1ce0f777ef20ee9c698a3022175abda8611de03efb010559c7c  0.0s
 => => extracting sha256:83fbf849ee89c6ab0fe1aadcf6a85dcc275070854ee1ca76ee88eb24d  0.0s
 => => extracting sha256:662c8d6f66200adef0cf551c6decc52e200f0a30d11eb042708157398  0.2s
 => [frontend internal] load build context                                          0.1s
 => => transferring context: 2.86MB                                                 0.0s
 => [backend internal] load .dockerignore                                           0.0s
 => => transferring context: 111B                                                   0.0s
 => [backend deps 1/5] FROM docker.io/library/python:3.12-slim@sha256:46cb7cc2877  19.5s
 => => resolve docker.io/library/python:3.12-slim@sha256:46cb7cc2877e60fbd5e21a9ae  0.0s
 => => sha256:9420c53ba876a39b83e2f08732920b62782c33d94cd04860a13c 5.67kB / 5.67kB  0.0s
 => => sha256:46cb7cc2877e60fbd5e21a9ae6115c30ace7a077b9f8772da8 10.37kB / 10.37kB  0.0s
 => => sha256:5ca4bfc4580d33083387dfc582569b7ec8cf12438961469c74b7 1.75kB / 1.75kB  0.0s
 => => sha256:e4fb5f1cd4d4ee56da574ef5ed88a5c74f100ba98caacf6c5 30.14MB / 30.14MB  16.1s
 => => sha256:842d7487c7fe0e9db7e485373e7f800352f53a9af6a56199f9c 1.27MB / 1.27MB  18.2s
 => => sha256:9fc7e7ec660107ac0ddb23a67c07ecca9785c09efd5e66ab2 12.05MB / 12.05MB  19.0s
 => => extracting sha256:e4fb5f1cd4d4ee56da574ef5ed88a5c74f100ba98caacf6c5ef26cee6  0.8s
 => => sha256:2134fe3fab671b9c20965da51065213c07cef9e15cf1411dffe5dfc 249B / 249B  17.0s
 => => extracting sha256:842d7487c7fe0e9db7e485373e7f800352f53a9af6a56199f9cbef4a2  0.1s
 => => extracting sha256:9fc7e7ec660107ac0ddb23a67c07ecca9785c09efd5e66ab24f5bd5cf  0.4s
 => => extracting sha256:2134fe3fab671b9c20965da51065213c07cef9e15cf1411dffe5dfce3  0.0s
 => [backend internal] load build context                                           0.1s
 => => transferring context: 3.50MB                                                 0.1s
 => [frontend build 2/6] WORKDIR /app                                               2.0s
 => [frontend build 3/6] COPY package*.json ./                                      0.1s
 => [frontend build 4/6] RUN npm ci --registry https://registry.npmmirror.com      11.5s
 => [backend deps 2/5] WORKDIR /app                                                 5.2s
 => [backend deps 3/5] RUN apt-get update &&     apt-get install -y --no-install-  27.1s
 => [backend production 3/7] RUN apt-get update &&     apt-get install -y --no-in  65.7s
 => [frontend build 5/6] COPY . .                                                   0.1s
 => [frontend build 6/6] RUN npm run build                                         12.4s
 => [frontend stage-1 2/3] COPY --from=build /app/dist /usr/share/nginx/html        0.0s
 => [frontend stage-1 3/3] COPY nginx.conf /etc/nginx/conf.d/default.conf           0.0s
 => [frontend] exporting to image                                                   0.0s
 => => exporting layers                                                             0.0s
 => => writing image sha256:825954f008e0b8942d951898f26027fc68c30628ae1cdb88f69fe2  0.0s
 => => naming to docker.io/library/clawith-frontend                                 0.0s
 => [frontend] resolving provenance for metadata file                               0.0s
 => [backend deps 4/5] COPY pyproject.toml ./                                       0.0s
 => [backend deps 5/5] RUN if [ -n "" ] && [ -n "" ]; then         pip install -  436.3s
 => [backend production 4/7] COPY --from=deps /usr/local/lib/python3.12/site-pack  13.1s
 => [backend production 5/7] COPY --from=deps /usr/local/bin/ /usr/local/bin/       0.0s
 => [backend production 6/7] COPY . .                                               0.1s
 => [backend production 7/7] RUN useradd --create-home clawith &&     mkdir -p /da  0.5s
 => [backend] exporting to image                                                    2.1s
 => => exporting layers                                                             2.1s
[+] up 30/30ng image sha256:2e8c66d2bd6a314dd49b9a1f6ee043df8c3500fe0dd204e33e35de  0.0s
 ✔ Image redis:7-alpine         Pulled                                              16.2s
 ✔ Image postgres:15-alpine     Pulled                                              36.8s
 ✔ Image clawith-backend        Built                                              513.7s
 ✔ Image clawith-frontend       Built                                              513.7s
 ✔ Network clawith_network      Created                                              0.0s
 ✔ Volume clawith_pgdata        Created                                              0.1s
 ✔ Volume clawith_redisdata     Created                                              0.0s
 ✔ Container clawith-postgres-1 Healthy                                              6.9s
 ✔ Container clawith-redis-1    Healthy                                              6.9s
 ✔ Container clawith-backend-1  Started                                              6.8s
 ✔ Container clawith-frontend-1 Started                                              6.1s
(base) liuguokai@LiuGuokais-Mac-mini Clawith %    

4 页面显示

相关推荐
.柒宇.2 小时前
AI掘金头条项目部署实践指南
linux·运维·python·fastapi
budingxiaomoli2 小时前
多机部署,负载均衡-LoadBalancer
运维·spring cloud·负载均衡
JesseDev2 小时前
Docker lnmp环境快速搭建开箱即用
运维·docker·容器
金牛IT3 小时前
Gogs 轻量级 Git 服务器搭建与使用
运维·服务器·git
不做无法实现的梦~3 小时前
linux怎么使用正点原子无线dap烧录器
linux·运维·postgresql
念一不念二3 小时前
VScode+云服务器
运维·服务器
vortex53 小时前
Kali Linux 磁盘扩容后内部分配完整教程
linux·运维
想唱rap3 小时前
应用层协议与序列化
linux·运维·服务器·网络·数据结构·c++·算法
开开心心_Every3 小时前
轻量级PDF阅读器,仅几M大小打开秒开
linux·运维·服务器·安全·macos·pdf·phpstorm