File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 51
51
ports :
52
52
- " 8090:8080"
53
53
54
+
54
55
koalawiki-web :
55
56
image : crpi-j9ha7sxwhatgtvj4.cn-shenzhen.personal.cr.aliyuncs.com/koala-ai/koala-wiki-web
56
57
command : ["/app/start.sh"]
57
58
environment :
58
59
- NEXT_PUBLIC_API_URL=http://koalawiki:8080 # 用于提供给server的地址
59
60
build :
60
- context : .
61
- dockerfile : web/Dockerfile
61
+ context : ./web
62
+ dockerfile : Dockerfile
63
+
64
+ nginx : # 需要nginx将前端和后端代理到一个端口
65
+ image : crpi-j9ha7sxwhatgtvj4.cn-shenzhen.personal.cr.aliyuncs.com/koala-ai/nginx:alpine
66
+ ports :
67
+ - 8090:80
68
+ volumes :
69
+ - ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
62
70
depends_on :
63
71
- koalawiki
64
- ports :
65
- - " 3000:3000"
72
+ - koalawiki-web
73
+
74
+ aspire-dashboard :
75
+ image : mcr.microsoft.com/dotnet/aspire-dashboard
76
+ container_name : aspire-dashboard
77
+ restart : always
78
+ environment :
79
+ - TZ=Asia/Shanghai
80
+ - Dashboard:ApplicationName=Aspire
66
81
67
82
volumes :
68
83
mysql_data :
You can’t perform that action at this time.
0 commit comments