Skip to content

Commit e9994bb

Browse files
update air version
1 parent 7fae4d8 commit e9994bb

File tree

3 files changed

+16
-99
lines changed

3 files changed

+16
-99
lines changed

admin/log/server_info.log

Lines changed: 0 additions & 83 deletions
This file was deleted.

doc/1、开发环境搭建.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Kafka: 自行客户端工具查看
237237
因为本项目是用air热加载的,所以是在air+golang镜像中运行,直接docker-compose也可以,但是考虑依赖可能会比较大,会影响启动项目,所以最好先把这个镜像拉取下来再去启动项目,拉取air+golang项目依赖的镜像命令如下
238238

239239
```shell
240-
$ docker pull cosmtrek/air:latest
240+
$ docker pull cosmtrek/air:v1.28.0
241241
```
242242

243243
##### 5.2 启动项目

docker-compose.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ services:
3030

3131
#总后台api , admin只有一个api聚合,不走nginx-gateway网关了,直接暴露端口访问就好了
3232
admin-api:
33-
image: cosmtrek/air:latest
33+
image: cosmtrek/air:v1.28.0
3434
container_name: admin-api
3535
environment:
3636
# 时区上海
@@ -52,7 +52,7 @@ services:
5252

5353
#为后台api提供数据的测试服务
5454
banner-rpc:
55-
image: cosmtrek/air:latest
55+
image: cosmtrek/air:v1.28.0
5656
container_name: banner-rpc
5757
environment:
5858
# 时区上海
@@ -68,7 +68,7 @@ services:
6868

6969
#认证服务、颁发token
7070
identity-rpc:
71-
image: cosmtrek/air:latest
71+
image: cosmtrek/air:v1.28.0
7272
container_name: identity-rpc
7373
environment:
7474
# 时区上海
@@ -84,7 +84,7 @@ services:
8484

8585
#认证服务api
8686
identity-api:
87-
image: cosmtrek/air:latest
87+
image: cosmtrek/air:v1.28.0
8888
container_name: identity-api
8989
environment:
9090
# 时区上海
@@ -102,7 +102,7 @@ services:
102102

103103
#用户服务grpc
104104
usercenter-rpc:
105-
image: cosmtrek/air:latest
105+
image: cosmtrek/air:v1.28.0
106106
container_name: usercenter-rpc
107107
environment:
108108
# 时区上海
@@ -120,7 +120,7 @@ services:
120120

121121
#用户服务api
122122
usercenter-api:
123-
image: cosmtrek/air:latest
123+
image: cosmtrek/air:v1.28.0
124124
container_name: usercenter-api
125125
environment:
126126
# 时区上海
@@ -139,7 +139,7 @@ services:
139139

140140
#旅行服务rpc
141141
travel-rpc:
142-
image: cosmtrek/air:latest
142+
image: cosmtrek/air:v1.28.0
143143
container_name: travel-rpc
144144
environment:
145145
# 时区上海
@@ -155,7 +155,7 @@ services:
155155

156156
#旅行服务api
157157
travel-api:
158-
image: cosmtrek/air:latest
158+
image: cosmtrek/air:v1.28.0
159159
container_name: travel-api
160160
environment:
161161
# 时区上海
@@ -174,7 +174,7 @@ services:
174174

175175
#订单服务rpc
176176
order-rpc:
177-
image: cosmtrek/air:latest
177+
image: cosmtrek/air:v1.28.0
178178
container_name: order-rpc
179179
environment:
180180
# 时区上海
@@ -193,7 +193,7 @@ services:
193193

194194
#订单服务api
195195
order-api:
196-
image: cosmtrek/air:latest
196+
image: cosmtrek/air:v1.28.0
197197
container_name: order-api
198198
environment:
199199
# 时区上海
@@ -212,7 +212,7 @@ services:
212212

213213
#订单服务消息队列、延迟队列
214214
order-mq:
215-
image: cosmtrek/air:latest
215+
image: cosmtrek/air:v1.28.0
216216
container_name: order-mq
217217
environment:
218218
# 时区上海
@@ -232,7 +232,7 @@ services:
232232

233233
#支付服务rpc
234234
payment-rpc:
235-
image: cosmtrek/air:latest
235+
image: cosmtrek/air:v1.28.0
236236
container_name: payment-rpc
237237
environment:
238238
# 时区上海
@@ -250,7 +250,7 @@ services:
250250

251251
#支付服务api
252252
payment-api:
253-
image: cosmtrek/air:latest
253+
image: cosmtrek/air:v1.28.0
254254
container_name: payment-api
255255
environment:
256256
# 时区上海
@@ -270,7 +270,7 @@ services:
270270

271271
#内部消息队列、延迟消息队列
272272
mqueue-rpc:
273-
image: cosmtrek/air:latest
273+
image: cosmtrek/air:v1.28.0
274274
container_name: mqueue-rpc
275275
environment:
276276
# 时区上海
@@ -286,7 +286,7 @@ services:
286286

287287
#内部消息服务(发送手机、邮件、微信模版消息)
288288
message-mq:
289-
image: cosmtrek/air:latest
289+
image: cosmtrek/air:v1.28.0
290290
container_name: message-mq
291291
environment:
292292
# 时区上海

0 commit comments

Comments
 (0)