update 优化 powerjob-server docker编排

feature/model
疯狂的狮子Li 1 year ago
parent 6f4e3b478e
commit 7accca933f

@ -142,19 +142,17 @@ services:
network_mode: "host" network_mode: "host"
ruoyi-powerjob-server: ruoyi-powerjob-server:
image: powerjob/powerjob-server:latest image: ruoyi/ruoyi-powerjob-server:5.0.0
restart: always container_name: ruoyi-powerjob-server
depends_on:
- mysql
environment: 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: ports:
- "7700:7700" - "7700:7700"
- "10086:10086" - "10086:10086"
- "10010:10010" - "10010:10010"
volumes: volumes:
- /docker/powerjob-data/powerjob-server:/root/powerjob/server/ - /docker/powerjob/logs/:/ruoyi/powerjob/logs
privileged: true privileged: true
network_mode: "host" network_mode: "host"

Loading…
Cancel
Save