Skip to content

Commit 0edab35

Browse files
committed
feat: fix docker image source
1 parent 5ceb375 commit 0edab35

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
docker-ui:
22
cd src/agentcraft-all/agentcraft-fe ; \
33
npm run build ; \
4-
docker buildx build -t agentcraft-ui:v0.0.1 .
4+
docker buildx build -t registry.cn-hangzhou.aliyuncs.com/agentcraft/agentcraft-fe:v1 .
55

66
docker-api:
77
cd src/agentcraft-all/agentcraft-be ; \
8-
docker buildx build -t agentcraft-api:v0.0.1 .
8+
docker buildx build -t registry.cn-hangzhou.aliyuncs.com/agentcraft/agentcraft-be:v1 .
99

1010

1111

docker-compose.yml

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
version: '3.3'
22
services:
33
embedding:
4-
image: registry.cn-hangzhou.aliyuncs.com/serverlessdevshanxie/bert:v4
4+
image: registry.cn-hangzhou.aliyuncs.com/agentcraft/agentcraft-embedding:v1
55
container_name: embedding
66
restart: always
77
ports: # 生产环境建议不要暴露
88
- 8001:8000
99
networks:
1010
- agentcraft
1111
pg:
12-
image: registry.cn-hangzhou.aliyuncs.com/ingine/pg:v1
12+
image: registry.cn-hangzhou.aliyuncs.com/agentcraft/agentcraft-pg:v1
1313
container_name: pg
1414
restart: always
1515
ports: # 生产环境建议不要暴露
@@ -23,9 +23,9 @@ services:
2323
- POSTGRES_DB=agentcraft
2424
volumes:
2525
- ./postgresql/data:/var/lib/postgresql/data
26-
api:
27-
container_name: api
28-
image: agentcraft-api:v0.0.1 # 阿里云
26+
agentcraft-backend:
27+
container_name: agentcraft-backend
28+
image: registry.cn-hangzhou.aliyuncs.com/agentcraft/agentcraft-be:v1 # 阿里云
2929
ports:
3030
- 8000:8000
3131
networks:
@@ -46,27 +46,27 @@ services:
4646
- POSTGRES_USER=agentcraft
4747
- POSTGRES_PASSWORD=agentcraft@001
4848
- REGION=cn-hangzhou
49-
- MAIN_ACCOUNT_ID=
50-
- ALIBABA_CLOUD_ACCESS_KEY_ID=
51-
- ALIBABA_CLOUD_ACCESS_KEY_SECRET=
52-
ui:
53-
container_name: ui
54-
image: agentcraft-ui:v0.0.1
49+
- MAIN_ACCOUNT_ID= #阿里云账号uid
50+
- ALIBABA_CLOUD_ACCESS_KEY_ID= #阿里云账号AK,注意信息安全
51+
- ALIBABA_CLOUD_ACCESS_KEY_SECRET= #阿里云账号SK,注意信息安全
52+
agentcraft-frontend:
53+
container_name: agentcraft-frontend
54+
image: registry.cn-hangzhou.aliyuncs.com/agentcraft/agentcraft-fe:v1
5555
ports:
5656
- 3000:3000
5757
depends_on:
58-
- api
58+
- agentcraft-backend
5959
networks:
6060
- agentcraft
6161
restart: always
6262
environment:
63-
- baseUrl=http://api:8000
64-
- openApiUrl=api:8000
63+
- baseUrl=http://agentcraft-backend:8000
64+
- openApiUrl=agentcraft-backend:8000
6565
- DEPLOY_TYPE=private # 部署方式为私有化
6666
- Region=cn-hangzhou
67-
- MAIN_ACCOUNT_ID=
68-
- ALIBABA_CLOUD_ACCESS_KEY_ID=
69-
- ALIBABA_CLOUD_ACCESS_KEY_SECRET=
67+
- MAIN_ACCOUNT_ID= #阿里云账号uid
68+
- ALIBABA_CLOUD_ACCESS_KEY_ID= #阿里云账号AK ,注意信息安全
69+
- ALIBABA_CLOUD_ACCESS_KEY_SECRET= #阿里云账号SK,注意信息安全
7070
networks:
7171
agentcraft:
7272
# driver: bridge

0 commit comments

Comments
 (0)