| | |
| | | version : '3.8' |
| | | services: |
| | | ruoyi-nacos: |
| | | container_name: ruoyi-nacos |
| | | se-nacos: |
| | | container_name: se-nacos |
| | | image: nacos/nacos-server |
| | | build: |
| | | context: ./nacos |
| | |
| | | - "9848:9848" |
| | | - "9849:9849" |
| | | depends_on: |
| | | - ruoyi-mysql |
| | | ruoyi-mysql: |
| | | container_name: ruoyi-mysql |
| | | - se-mysql |
| | | se-mysql: |
| | | container_name: se-mysql |
| | | image: mysql:5.7 |
| | | build: |
| | | context: ./mysql |
| | |
| | | environment: |
| | | MYSQL_DATABASE: 'ry-cloud' |
| | | MYSQL_ROOT_PASSWORD: password |
| | | ruoyi-redis: |
| | | container_name: ruoyi-redis |
| | | se-redis: |
| | | container_name: se-redis |
| | | image: redis |
| | | build: |
| | | context: ./redis |
| | | ports: |
| | | - "6379:6379" |
| | | volumes: |
| | | - ./redis/conf/redis.conf:/home/ruoyi/redis/redis.conf |
| | | - ./redis/conf/redis.conf:/home/se/redis/redis.conf |
| | | - ./redis/data:/data |
| | | command: redis-server /home/ruoyi/redis/redis.conf |
| | | ruoyi-nginx: |
| | | container_name: ruoyi-nginx |
| | | command: redis-server /home/se/redis/redis.conf |
| | | se-nginx: |
| | | container_name: se-nginx |
| | | image: nginx |
| | | build: |
| | | context: ./nginx |
| | | ports: |
| | | - "80:80" |
| | | volumes: |
| | | - ./nginx/html/dist:/home/ruoyi/projects/ruoyi-ui |
| | | - ./nginx/html/dist:/home/se/projects/se-ui |
| | | - ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf |
| | | - ./nginx/logs:/var/log/nginx |
| | | - ./nginx/conf.d:/etc/nginx/conf.d |
| | | depends_on: |
| | | - ruoyi-gateway |
| | | - se-gateway |
| | | links: |
| | | - ruoyi-gateway |
| | | ruoyi-gateway: |
| | | container_name: ruoyi-gateway |
| | | - se-gateway |
| | | se-gateway: |
| | | container_name: se-gateway |
| | | build: |
| | | context: ./ruoyi/gateway |
| | | context: ./se/gateway |
| | | dockerfile: dockerfile |
| | | ports: |
| | | - "8080:8080" |
| | | depends_on: |
| | | - ruoyi-redis |
| | | - se-redis |
| | | links: |
| | | - ruoyi-redis |
| | | ruoyi-auth: |
| | | container_name: ruoyi-auth |
| | | - se-redis |
| | | se-auth: |
| | | container_name: se-auth |
| | | build: |
| | | context: ./ruoyi/auth |
| | | context: ./se/auth |
| | | dockerfile: dockerfile |
| | | ports: |
| | | - "9200:9200" |
| | | depends_on: |
| | | - ruoyi-redis |
| | | - se-redis |
| | | links: |
| | | - ruoyi-redis |
| | | ruoyi-modules-system: |
| | | container_name: ruoyi-modules-system |
| | | - se-redis |
| | | se-modules-system: |
| | | container_name: se-modules-system |
| | | build: |
| | | context: ./ruoyi/modules/system |
| | | context: ./se/modules/system |
| | | dockerfile: dockerfile |
| | | ports: |
| | | - "9201:9201" |
| | | depends_on: |
| | | - ruoyi-redis |
| | | - ruoyi-mysql |
| | | - se-redis |
| | | - se-mysql |
| | | links: |
| | | - ruoyi-redis |
| | | - ruoyi-mysql |
| | | ruoyi-modules-gen: |
| | | container_name: ruoyi-modules-gen |
| | | - se-redis |
| | | - se-mysql |
| | | se-modules-gen: |
| | | container_name: se-modules-gen |
| | | build: |
| | | context: ./ruoyi/modules/gen |
| | | context: ./se/modules/gen |
| | | dockerfile: dockerfile |
| | | ports: |
| | | - "9202:9202" |
| | | depends_on: |
| | | - ruoyi-mysql |
| | | - se-mysql |
| | | links: |
| | | - ruoyi-mysql |
| | | ruoyi-modules-job: |
| | | container_name: ruoyi-modules-job |
| | | - se-mysql |
| | | se-modules-job: |
| | | container_name: se-modules-job |
| | | build: |
| | | context: ./ruoyi/modules/job |
| | | context: ./se/modules/job |
| | | dockerfile: dockerfile |
| | | ports: |
| | | - "9203:9203" |
| | | depends_on: |
| | | - ruoyi-mysql |
| | | - se-mysql |
| | | links: |
| | | - ruoyi-mysql |
| | | ruoyi-modules-file: |
| | | container_name: ruoyi-modules-file |
| | | - se-mysql |
| | | se-modules-file: |
| | | container_name: se-modules-file |
| | | build: |
| | | context: ./ruoyi/modules/file |
| | | context: ./se/modules/file |
| | | dockerfile: dockerfile |
| | | ports: |
| | | - "9300:9300" |
| | | volumes: |
| | | - ./ruoyi/uploadPath:/home/ruoyi/uploadPath |
| | | ruoyi-visual-monitor: |
| | | container_name: ruoyi-visual-monitor |
| | | - ./se/uploadPath:/home/se/uploadPath |
| | | se-visual-monitor: |
| | | container_name: se-visual-monitor |
| | | build: |
| | | context: ./ruoyi/visual/monitor |
| | | context: ./se/visual/monitor |
| | | dockerfile: dockerfile |
| | | ports: |
| | | - "9100:9100" |