Skip to content

Commit

Permalink
update air version
Browse files Browse the repository at this point in the history
  • Loading branch information
977231903@qq.com committed Mar 10, 2022
1 parent 7fae4d8 commit e9994bb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 99 deletions.
83 changes: 0 additions & 83 deletions admin/log/server_info.log

This file was deleted.

2 changes: 1 addition & 1 deletion doc/1、开发环境搭建.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ Kafka: 自行客户端工具查看
因为本项目是用air热加载的,所以是在air+golang镜像中运行,直接docker-compose也可以,但是考虑依赖可能会比较大,会影响启动项目,所以最好先把这个镜像拉取下来再去启动项目,拉取air+golang项目依赖的镜像命令如下

```shell
$ docker pull cosmtrek/air:latest
$ docker pull cosmtrek/air:v1.28.0
```

##### 5.2 启动项目
Expand Down
30 changes: 15 additions & 15 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:

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

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

#认证服务、颁发token
identity-rpc:
image: cosmtrek/air:latest
image: cosmtrek/air:v1.28.0
container_name: identity-rpc
environment:
# 时区上海
Expand All @@ -84,7 +84,7 @@ services:

#认证服务api
identity-api:
image: cosmtrek/air:latest
image: cosmtrek/air:v1.28.0
container_name: identity-api
environment:
# 时区上海
Expand All @@ -102,7 +102,7 @@ services:

#用户服务grpc
usercenter-rpc:
image: cosmtrek/air:latest
image: cosmtrek/air:v1.28.0
container_name: usercenter-rpc
environment:
# 时区上海
Expand All @@ -120,7 +120,7 @@ services:

#用户服务api
usercenter-api:
image: cosmtrek/air:latest
image: cosmtrek/air:v1.28.0
container_name: usercenter-api
environment:
# 时区上海
Expand All @@ -139,7 +139,7 @@ services:

#旅行服务rpc
travel-rpc:
image: cosmtrek/air:latest
image: cosmtrek/air:v1.28.0
container_name: travel-rpc
environment:
# 时区上海
Expand All @@ -155,7 +155,7 @@ services:

#旅行服务api
travel-api:
image: cosmtrek/air:latest
image: cosmtrek/air:v1.28.0
container_name: travel-api
environment:
# 时区上海
Expand All @@ -174,7 +174,7 @@ services:

#订单服务rpc
order-rpc:
image: cosmtrek/air:latest
image: cosmtrek/air:v1.28.0
container_name: order-rpc
environment:
# 时区上海
Expand All @@ -193,7 +193,7 @@ services:

#订单服务api
order-api:
image: cosmtrek/air:latest
image: cosmtrek/air:v1.28.0
container_name: order-api
environment:
# 时区上海
Expand All @@ -212,7 +212,7 @@ services:

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

#支付服务rpc
payment-rpc:
image: cosmtrek/air:latest
image: cosmtrek/air:v1.28.0
container_name: payment-rpc
environment:
# 时区上海
Expand All @@ -250,7 +250,7 @@ services:

#支付服务api
payment-api:
image: cosmtrek/air:latest
image: cosmtrek/air:v1.28.0
container_name: payment-api
environment:
# 时区上海
Expand All @@ -270,7 +270,7 @@ services:

#内部消息队列、延迟消息队列
mqueue-rpc:
image: cosmtrek/air:latest
image: cosmtrek/air:v1.28.0
container_name: mqueue-rpc
environment:
# 时区上海
Expand All @@ -286,7 +286,7 @@ services:

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

0 comments on commit e9994bb

Please sign in to comment.