| | |
| | | |
| | | 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.2023-03-24T21-41-23Z |
| | | image: minio/minio:RELEASE.2023-04-13T03-08-07Z |
| | | container_name: minio |
| | | ports: |
| | | # api 端口 |
| | |
| | | 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-xxl-job-admin: |
| | | image: ruoyi/ruoyi-xxl-job-admin:5.0.0 |
| | | container_name: ruoyi-xxl-job-admin |
| | | ruoyi-snailjob-server: |
| | | image: ruoyi/ruoyi-snailjob-server:5.2.2 |
| | | container_name: ruoyi-snailjob-server |
| | | environment: |
| | | # 时区上海 |
| | | TZ: Asia/Shanghai |
| | | ports: |
| | | - "8800:8800" |
| | | - "17888:17888" |
| | | volumes: |
| | | # 配置文件 |
| | | - /docker/xxljob/logs/:/ruoyi/xxljob/logs |
| | | - /docker/snailjob/logs/:/ruoyi/snailjob/logs |
| | | privileged: true |
| | | network_mode: "host" |