Skip to content
This repository has been archived by the owner on Oct 9, 2021. It is now read-only.

Commit

Permalink
更新surging版本号和服务配置
Browse files Browse the repository at this point in the history
  • Loading branch information
liuhll committed Aug 27, 2020
1 parent ec21c75 commit 6c67aec
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 17 deletions.
35 changes: 35 additions & 0 deletions docker-compose/infrastr/docker-compose.redis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
version: "3.7"

services:
hero.redis1:
image: redis:latest
restart: always
ports:
- "16379:6379"
networks:
- surging_hero_service_net
hero.redis2:
image: redis:latest
restart: always
ports:
- "16380:6379"
networks:
- surging_hero_service_net
hero.redis3:
image: redis:latest
restart: always
ports:
- "16381:6379"
networks:
- surging_hero_service_net
hero.redis4:
image: redis:latest
restart: always
ports:
- "16382:6379"
networks:
- surging_hero_service_net
networks:
surging_hero_service_net:
external:
name: surging_hero_service_net
18 changes: 5 additions & 13 deletions docker-compose/infrastr/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
version: '3.7'

services:
hero.redis:
image: redis:latest
restart: always
ports:
- "16379:6379"
networks:
- surging_hero_service_net
version: "3.7"

services:
hero.rabbitmq:
image: rabbitmq:management
restart: always
Expand Down Expand Up @@ -38,12 +30,12 @@ services:
- "3306:3306"
networks:
- surging_hero_service_net

networks:
surging_hero_service_net:
surging_hero_service_net:
driver: bridge
name: surging_hero_service_net
ipam:
driver: default
config:
- subnet: 172.23.0.1/16
- subnet: 172.23.0.1/16
23 changes: 20 additions & 3 deletions src/Shared/Configs/cacheSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,28 @@
{
"Name": "Redis",
"Properties": [

{
"Name": null,
"Ref": null,
"Value": "hero.redis:6379::1",
"Value": "hero.redis1:6379::1",
"Maps": null
},
{
"Name": null,
"Ref": null,
"Value": "hero.redis2:6379::1",
"Maps": null
},
{
"Name": null,
"Ref": null,
"Value": "hero.redis3:6379::1",
"Maps": null
},
{
"Name": null,
"Ref": null,
"Value": "hero.redis4:6379::1",
"Maps": null
}
]
Expand Down Expand Up @@ -62,4 +79,4 @@
]
}
]
}
}
2 changes: 1 addition & 1 deletion src/Shared/Props/surgingversion.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<SurgingVersion>2.0.3-bate.48</SurgingVersion>
<SurgingVersion>2.0.3-bate.49</SurgingVersion>
</PropertyGroup>
</Project>

0 comments on commit 6c67aec

Please sign in to comment.