| | |
| | | |
| | | services: |
| | | mysql: |
| | | image: mysql:8.0.31 |
| | | image: mysql:8.0.33 |
| | | container_name: mysql |
| | | environment: |
| | | # 时区上海 |
| | |
| | | network_mode: "host" |
| | | |
| | | nginx-web: |
| | | image: nginx:1.22.1 |
| | | image: nginx:1.23.4 |
| | | container_name: nginx-web |
| | | environment: |
| | | # 时区上海 |
| | |
| | | network_mode: "host" |
| | | |
| | | redis: |
| | | image: redis:6.2.7 |
| | | image: redis:6.2.12 |
| | | container_name: redis |
| | | ports: |
| | | - "6379:6379" |
| | |
| | | network_mode: "host" |
| | | |
| | | minio: |
| | | image: minio/minio:RELEASE.2022-05-26T05-48-41Z |
| | | image: minio/minio:RELEASE.2023-04-13T03-08-07Z |
| | | container_name: minio |
| | | ports: |
| | | # api 端口 |
| | |
| | | # 时区上海 |
| | | TZ: Asia/Shanghai |
| | | # 管理后台用户名 |
| | | MINIO_ACCESS_KEY: ruoyi |
| | | MINIO_ROOT_USER: ruoyi |
| | | # 管理后台密码,最小8个字符 |
| | | MINIO_SECRET_KEY: ruoyi123 |
| | | MINIO_ROOT_PASSWORD: ruoyi123 |
| | | # https需要指定域名 |
| | | #MINIO_SERVER_URL: "https://xxx.com:9000" |
| | | #MINIO_BROWSER_REDIRECT_URL: "https://xxx.com:9001" |
| | |
| | | network_mode: "host" |
| | | |
| | | ruoyi-server1: |
| | | image: ruoyi/ruoyi-server:4.3.1 |
| | | image: ruoyi/ruoyi-server:5.0.0 |
| | | container_name: ruoyi-server1 |
| | | environment: |
| | | # 时区上海 |
| | |
| | | network_mode: "host" |
| | | |
| | | ruoyi-server2: |
| | | image: "ruoyi/ruoyi-server:4.3.1" |
| | | image: ruoyi/ruoyi-server:5.0.0 |
| | | container_name: ruoyi-server2 |
| | | environment: |
| | | # 时区上海 |
| | |
| | | network_mode: "host" |
| | | |
| | | ruoyi-monitor-admin: |
| | | image: ruoyi/ruoyi-monitor-admin:4.3.1 |
| | | image: ruoyi/ruoyi-monitor-admin:5.0.0 |
| | | container_name: ruoyi-monitor-admin |
| | | environment: |
| | | # 时区上海 |
| | |
| | | privileged: true |
| | | network_mode: "host" |
| | | |
| | | ruoyi-xxl-job-admin: |
| | | image: ruoyi/ruoyi-xxl-job-admin:4.3.1 |
| | | 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" |
| | | |