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

Commit

Permalink
更新rabbitmq和mysql服务编排文件
Browse files Browse the repository at this point in the history
  • Loading branch information
liuhll committed Dec 14, 2020
1 parent 9a26eb1 commit e4260b7
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 44 deletions.
9 changes: 6 additions & 3 deletions docker-compose/infrastr/docker-compose.mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ services:
- "3306:3306"
networks:
- surging_hero_service_net

networks:
surging_hero_service_net:
external:
name: surging_hero_service_net
driver: bridge
name: surging_hero_service_net
ipam:
driver: default
config:
- subnet: 172.23.0.1/16
21 changes: 21 additions & 0 deletions docker-compose/infrastr/docker-compose.rabbitmq.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: "3.7"

services:
hero.rabbitmq:
image: rabbitmq:management
restart: always
environment:
RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
RABBITMQ_DEFAULT_USER: "rabbitmq"
RABBITMQ_DEFAULT_PASS: "rabbitmq"
RABBITMQ_DEFAULT_VHOST: "/"
ports:
- "15672:15672"
- "5672:5672"
networks:
- surging_hero_service_net

networks:
surging_hero_service_net:
external:
name: surging_hero_service_net
41 changes: 0 additions & 41 deletions docker-compose/infrastr/docker-compose.yml

This file was deleted.

0 comments on commit e4260b7

Please sign in to comment.