| | |
| | | network_mode: "host" |
| | | |
| | | ruoyi-server1: |
| | | image: ruoyi/ruoyi-server:5.0.0 |
| | | image: ruoyi/ruoyi-server:5.2.2 |
| | | container_name: ruoyi-server1 |
| | | environment: |
| | | # 时区上海 |
| | |
| | | network_mode: "host" |
| | | |
| | | ruoyi-server2: |
| | | image: ruoyi/ruoyi-server:5.0.0 |
| | | image: ruoyi/ruoyi-server:5.2.2 |
| | | container_name: ruoyi-server2 |
| | | environment: |
| | | # 时区上海 |
| | |
| | | network_mode: "host" |
| | | |
| | | ruoyi-monitor-admin: |
| | | image: ruoyi/ruoyi-monitor-admin:5.0.0 |
| | | image: ruoyi/ruoyi-monitor-admin:5.2.2 |
| | | container_name: ruoyi-monitor-admin |
| | | environment: |
| | | # 时区上海 |
| | |
| | | privileged: true |
| | | network_mode: "host" |
| | | |
| | | ruoyi-powerjob-server: |
| | | image: powerjob/powerjob-server:latest |
| | | restart: always |
| | | depends_on: |
| | | - mysql |
| | | ruoyi-snailjob-server: |
| | | image: ruoyi/ruoyi-snailjob-server:5.2.2 |
| | | container_name: ruoyi-snailjob-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" |
| | | - "8800:8800" |
| | | - "17888:17888" |
| | | volumes: |
| | | - /docker/powerjob-data/powerjob-server:/root/powerjob/server/ |
| | | - /docker/snailjob/logs/:/ruoyi/snailjob/logs |
| | | privileged: true |
| | | network_mode: "host" |
| | | |