From 7accca933fac460a764df65589a39ea2ee240cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Wed, 21 Jun 2023 16:45:28 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20powerjob-server?= =?UTF-8?q?=20docker=E7=BC=96=E6=8E=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/docker/docker-compose.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/script/docker/docker-compose.yml b/script/docker/docker-compose.yml index eb1ab691..a404b864 100644 --- a/script/docker/docker-compose.yml +++ b/script/docker/docker-compose.yml @@ -142,19 +142,17 @@ services: network_mode: "host" ruoyi-powerjob-server: - image: powerjob/powerjob-server:latest - restart: always - depends_on: - - mysql + image: ruoyi/ruoyi-powerjob-server:5.0.0 + container_name: ruoyi-powerjob-server environment: - 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_" + # 时区上海 + TZ: Asia/Shanghai ports: - "7700:7700" - "10086:10086" - "10010:10010" volumes: - - /docker/powerjob-data/powerjob-server:/root/powerjob/server/ + - /docker/powerjob/logs/:/ruoyi/powerjob/logs privileged: true network_mode: "host"