| | |
| | | |
| | | services: |
| | | mysql: |
| | | image: mysql:8.0.29 |
| | | image: mysql:8.0.33 |
| | | container_name: mysql |
| | | environment: |
| | | # 时区上海 |
| | |
| | | network_mode: "host" |
| | | |
| | | nginx-web: |
| | | image: nginx:1.21.6 |
| | | 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.0 |
| | | image: ruoyi/ruoyi-server:5.2.2 |
| | | container_name: ruoyi-server1 |
| | | environment: |
| | | # 时区上海 |
| | |
| | | volumes: |
| | | # 配置文件 |
| | | - /docker/server1/logs/:/ruoyi/server/logs/ |
| | | # skywalking 探针 |
| | | # - /docker/skywalking/agent/:/ruoyi/skywalking/agent |
| | | privileged: true |
| | | network_mode: "host" |
| | | |
| | | ruoyi-server2: |
| | | image: "ruoyi/ruoyi-server:4.3.0" |
| | | image: ruoyi/ruoyi-server:5.2.2 |
| | | container_name: ruoyi-server2 |
| | | environment: |
| | | # 时区上海 |
| | |
| | | volumes: |
| | | # 配置文件 |
| | | - /docker/server2/logs/:/ruoyi/server/logs/ |
| | | # skywalking 探针 |
| | | # - /docker/skywalking/agent/:/ruoyi/skywalking/agent |
| | | privileged: true |
| | | network_mode: "host" |
| | | |
| | | ruoyi-monitor-admin: |
| | | image: ruoyi/ruoyi-monitor-admin:4.3.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:4.3.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" |