script/docker/docker-compose.yml
@@ -2,7 +2,7 @@
services:
  mysql:
    image: mysql:8.0.31
    image: mysql:8.0.33
    container_name: mysql
    environment:
      # 时区上海
@@ -29,7 +29,7 @@
    network_mode: "host"
  nginx-web:
    image: nginx:1.22.1
    image: nginx:1.23.4
    container_name: nginx-web
    environment:
      # 时区上海
@@ -50,7 +50,7 @@
    network_mode: "host"
  redis:
    image: redis:6.2.7
    image: redis:6.2.12
    container_name: redis
    ports:
      - "6379:6379"
@@ -67,7 +67,7 @@
    network_mode: "host"
  minio:
    image: minio/minio:RELEASE.2023-03-24T21-41-23Z
    image: minio/minio:RELEASE.2023-04-13T03-08-07Z
    container_name: minio
    ports:
      # api 端口
@@ -141,14 +141,20 @@
    privileged: true
    network_mode: "host"
  ruoyi-xxl-job-admin:
    image: ruoyi/ruoyi-xxl-job-admin:5.0.0
    container_name: ruoyi-xxl-job-admin
  ruoyi-powerjob-server:
    image: powerjob/powerjob-server:latest
    restart: always
    depends_on:
      - mysql
    environment:
      # 时区上海
      TZ: Asia/Shanghai
      JVMOPTIONS: "-Xmx512m"
      PARAMS: "--oms.mongodb.enable=false --spring.datasource.core.jdbc-url=jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai --spring.datasource.core.username=root --spring.datasource.core.password=root --oms.table-prefix=pj_"
    ports:
      - "7700:7700"
      - "10086:10086"
      - "10010:10010"
    volumes:
      # 配置文件
      - /docker/xxljob/logs/:/ruoyi/xxljob/logs
      - /docker/powerjob-data/powerjob-server:/root/powerjob/server/
    privileged: true
    network_mode: "host"