代码拉取完成,页面将自动刷新
同步操作将从 gaoweixuan/breeze-boot-satoken-oauth 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3'
services:
# 数据库
breeze-mysql:
build:
context: ./docker/db
container_name: breeze-mysql
hostname: breeze-mysql
restart: always
environment:
MYSQL_ROOT_HOST: "%"
MYSQL_ROOT_PASSWORD: root
TZ: Asia/Shanghai
ports:
- "3306:3306"
expose:
- "3306"
volumes:
- ./docker/mysql/conf/my.cnf:/etc/mysql/my.cnf
- ./docker/mysql/data/:/var/lib/mysql
- ./docker/mysql/logs:/var/log/mysql
- /etc/localtime:/etc/localtime:ro
command:
# 可以配置在mysql的 my.cnf 中
--default-authentication-plugin=mysql_native_password
privileged: true
networks:
- breeze-net
# redis
breeze-redis:
image: redis:7.2.5
container_name: breeze-redis
hostname: breeze-redis
restart: always
ports:
- "6379:6379"
expose:
- "6379"
environment:
TZ: Asia/Shanghai
volumes:
- ./docker/redis/conf/redis.conf:/etc/redis/redis.conf
- ./docker/redis/data/:/data
- ./docker/redis/logs/:/logs
- /etc/localtime:/etc/localtime:ro
command:
redis-server /etc/redis/redis.conf
privileged: true
networks:
- breeze-net
# rabbitMq服务
breeze-rabbitmq:
image: rabbitmq:3.10.25-management
container_name: breeze-rabbitmq
hostname: breeze-rabbitmq
ports:
- "4369:4369"
- "15672:15672" # client端通信口
- "5672:5672" # 管理界面ui端口
- "25672:25672" # server间内部通信口
volumes:
- ./docker/rabbitmq/data:/var/lib/rabbitmq
- ./docker/rabbitmq/conf.d:/etc/rabbitmq/conf.d
- ./docker/rabbitmq/log:/var/log/rabbitmq/log
#环境变量
environment:
RABBITMQ_DEFAULT_VHOST: /
RABBITMQ_DEFAULT_USER: admin
RABBITMQ_DEFAULT_PASS: 123456
privileged: true
restart: always
networks:
- breeze-net
breeze-minio:
container_name: breeze-minio
image: minio/minio:RELEASE.2024-01-18T22-51-28Z
hostname: breeze-minio
ports:
- "9092:9092" # api端口
- "9091:9091" # 控制台端口
environment:
MINIO_ACCESS_KEY: admin #管理平台用户名
MINIO_SECRET_KEY: 12345678 #管理平台密码
TZ: Asia/Shanghai
volumes:
- ./docker/minio/data:/data
- ./docker/minio/config:/root/.minio/
- /etc/localtime:/etc/localtime:ro
command: server --console-address ':9091' --address ':9092' /data #指定容器中的目录 /data
privileged: true
restart: always
networks:
- breeze-net
breeze-boot-satoken-oauth:
build:
context: ./breeze-boot
restart: always
container_name: breeze-boot-satoken-oauth
ports:
- "9000:9000"
volumes:
- ./docker/logs:/usr/local/boot/logs
- /etc/localtime:/etc/localtime:ro
hostname: breeze-boot
image: breeze-boot
depends_on:
- breeze-minio
- breeze-mysql
- breeze-redis
networks:
- breeze-net
breeze-monitor:
build:
context: ./breeze-monitor
restart: always
ports:
- "10000:10000"
volumes:
- ./docker/logs:/usr/local/boot/logs
- /etc/localtime:/etc/localtime:ro
container_name: breeze-monitor
hostname: breeze-monitor
image: breeze-monitor
depends_on:
- breeze-boot
networks:
- breeze-net
breeze-job-admin:
container_name: breeze-job-admin
hostname: breeze-job-admin
image: xuxueli/xxl-job-admin:2.2.0
environment:
TZ: Asia/Shanghai
PARAMS: "--spring.datasource.url=jdbc:mysql://breeze-mysql:3306/breeze_xxl_job?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai
--spring.datasource.username=root
--spring.datasource.password=root"
volumes:
- ./docker/xxljob/applogs:/data/applogs
- /etc/localtime:/etc/localtime:ro
ports:
- "18080:8080"
restart: on-failure
privileged: true
networks:
- breeze-net
networks:
breeze-net:
# 如果要创建外部隔离的覆盖网络,您可以将此internal选项设置为true
external: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。