代码拉取完成,页面将自动刷新
同步操作将从 miaoyinjun/jjche-boot 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3'
networks:
net:
driver: bridge
services:
jjche-boot-server-mysql:
image: mysql:5.7.16
container_name: jjche-boot-server-mysql
restart: always
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: admin
MYSQL_PASSWORD: admin
MYSQL_DATABASE: jjche-boot
TZ: Asia/Shanghai
ports:
- 33306:3306
jjche-boot-server-redis:
image: redis:6.2.0-alpine
container_name: jjche-boot-server-redis
restart: always
command: --requirepass "redis" --appendonly no
environment:
TZ: Asia/Shanghai
ports:
- 26379:6379
jjche-boot-server:
image: jjche-boot-server:latest
container_name: jjche-boot-api
restart: always
build:
context: ./jjche-boot-server
dockerfile: ./Dockerfile
ports:
- 8801:8801
depends_on:
- jjche-boot-server-mysql
- jjche-boot-server-redis
environment:
TZ: Asia/Shanghai
JJCHE_WEB_PORT: 8801
# 数据库配置
JJCHE_DB_HOST: jjche-boot-server-mysql
JJCHE_DB_PORT: 3306
JJCHE_DB_ROOT_PASSWORD: root
JJCHE_DB_UNAME: admin
JJCHE_DB_PASSWORD: admin
JJCHE_DB_DATABASE: jjche-boot
# Redis配置
JJCHE_REDIS_HOST: jjche-boot-server-redis
JJCHE_REDIS_PASSWORD: redis
JJCHE_REDIS_PORT: 6379
JJCHE_REDIS_DB: 1
#JVM 80%内存运行
JAVA_MAX_MEM_RATIO: 80
deploy:
resources:
limits:
memory: 2048M
jjche-boot-ui:
image: jjche-boot-ui:latest
container_name: jjche-boot-ui
restart: always
build:
context: ./jjche-boot-ui
dockerfile: ./Dockerfile
environment:
TZ: Asia/Shanghai
ports:
- "80:80"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。