代码拉取完成,页面将自动刷新
同步操作将从 LIdark/weapp-fangxianyu 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3'
services:
mysql:
image: mysql:5.7
container_name: fangxianyu-mysql
environment:
MYSQL_ROOT_PASSWORD: 1234
ports:
- "3306:3306"
volumes:
- ./dev/mysql/conf:/etc/mysql/conf.d
- ./dev/mysql/data:/var/lib/mysql
#/dev/mysql/data为空(首次启动)时会执行/docker-entrypoint-initdb.d下的sql
# - ./dev/mysql/dump/1_schema.sql:/docker-entrypoint-initdb.d/1_schema.sql #只导入schema
- ./dev/mysql/dump:/docker-entrypoint-initdb.d #schema+所有测试数据
restart: always
rabbitmq:
image: rabbitmq:3.7.8-management
container_name: fangxianyu-rabbitmq
ports:
- "5672:5672"
- "15672:15672" #管理界面 : 账号密码都是guest
hostname: my-rabbit-mq
restart: always
redis:
image: redis:3.2
container_name: fangxianyu-redis
volumes:
- ./dev/redis/data:/data
ports:
- "6379:6379"
eureka:
build: ./eureka
container_name: fangxianyu-eureka
restart: always
user-service:
build: ./user-service
container_name: fangxianyu-user-service
restart: always
depends_on:
- mysql
- rabbitmq
- eureka
auth-service:
build: ./auth-service
container_name: fangxianyu-auth-service
restart: always
depends_on:
- mysql
- rabbitmq
- eureka
- user-service
goods-service:
build: ./goods-service
container_name: fangxianyu-goods-service
restart: always
depends_on:
- mysql
- eureka
- user-service
im-service:
build: ./im-service
container_name: fangxianyu-im-service
restart: always
depends_on:
- mysql
- redis
- eureka
- user-service
- goods-service
gateway:
build: ./gateway
container_name: fangxianyu-gateway
ports:
- "8080:8080"
restart: always
depends_on:
- eureka
- user-service
- auth-service
- goods-service
- im-service
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。