JeecgBoot/jeecg-boot/docker-compose.yml
scott d7d641090d 同步商业版 SVN 代码至 v3.9.6(后端 r85531,前端 r85552)
- 后端:同步系统管理、基础模块、AI 等开源模块的修复与优化;新增 v3.9.6 升级 SQL(已去掉商业表与商业数据)
- 依赖:jeecg-boot-starter 3.9.6、jeecg-online 3.9.6-beta、jeecg-aiflow-boot4 3.9.6
- 前端:同步 Online、系统管理、AI 应用等页面的修复与优化;aiflow 改为从 @jeecg/aiflow 包引入
- 保持开源版差异:数据库名 jeecg-boot、去掉商业版版权声明、百度统计 ID 不变

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 06:15:14 -05:00

95 lines
2.4 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
jeecg-boot-mysql:
build:
context: ./db
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_ROOT_HOST: '%'
TZ: Asia/Shanghai
restart: always
container_name: jeecg-boot-mysql
image: jeecg-boot-mysql
command:
--character-set-server=utf8mb4
--collation-server=utf8mb4_general_ci
--explicit_defaults_for_timestamp=true
--lower_case_table_names=1
--max_allowed_packet=128M
--default-authentication-plugin=caching_sha2_password
ports:
- 13306:3306
healthcheck:
test: ["CMD-SHELL", "mysqladmin ping -h127.0.0.1 -uroot -proot --silent"]
interval: 10s
timeout: 5s
retries: 12
start_period: 60s
networks:
- jeecg-boot
jeecg-boot-redis:
image: registry.cn-hangzhou.aliyuncs.com/jeecgdocker/redis:5.0
# ports:
# - 6379:6379
restart: always
hostname: jeecg-boot-redis
container_name: jeecg-boot-redis
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 12
networks:
- jeecg-boot
jeecg-boot-pgvector:
image: registry.cn-hangzhou.aliyuncs.com/jeecgdocker/pgvector
container_name: jeecg-boot-pgvector
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: vector_db
# ports:
# - 5432:5432
restart: always
networks:
- jeecg-boot
# jeecg-boot-rabbitmq:
# image: rabbitmq:3.7.7-management
## ports:
## - 5672:5672
## - 15672:15672
# restart: always
# container_name: jeecg-boot-rabbitmq
# hostname: jeecg-boot-rabbitmq
# environment:
# RABBITMQ_DEFAULT_USER: guest
# RABBITMQ_DEFAULT_PASS: guest
# networks:
# - jeecg-boot
jeecg-boot-system:
build:
context: ./jeecg-module-system/jeecg-system-start
restart: on-failure
mac_address: 02:42:ac:11:00:02
depends_on:
# 等依赖服务healthcheck通过后再启动应用(应用Dockerfile已去掉sleep,直接启动)
jeecg-boot-mysql:
condition: service_healthy
jeecg-boot-redis:
condition: service_healthy
container_name: jeecg-boot-system
image: jeecg-boot-system
hostname: jeecg-boot-system
ports:
- 8080:8080
networks:
- jeecg-boot
volumes:
- ./config:/jeecg-boot/config
networks:
jeecg-boot:
name: jeecg_boot