部署启动服务,启动业务模块 modules,报错问题???

Blade 未结 1 1003
xtw123
xtw123 剑童 2020-06-27 16:12

一、该问题的重现步骤是什么?

1. 

2.  部署启动业务模块 modules

3.


二、你期待的结果是什么?实际看到的又是什么?

正确部署


三、你正在使用的是什么产品,什么版本?在什么操作系统上?

Bladex, 部署 虚拟机linux ,centos7

四、请提供详细的错误堆栈信息,这很重要。

image.png


image.png

五、若有更多详细信息,请在下面提供。

image.png


docker-compose配置文件

version: '3'
services:
  nacos:
    image: nacos/nacos-server:1.2.1
    hostname: "nacos-standalone"
    environment:
      - MODE=standalone
      - TZ=Asia/Shanghai
    volumes:
      - /docker/nacos/standalone-logs/:/home/nacos/logs
      - /docker/nacos/init.d/custom.properties:/home/nacos/init.d/custom.properties
    ports:
      - 8848:8848
    networks:
      blade_net:
        ipv4_address: 172.30.0.48

  sentinel:
    image: bladex/sentinel-dashboard:1.7.2
    hostname: "sentinel"
    environment:
      - TZ=Asia/Shanghai
    ports:
      - 8858:8858
    restart: on-failure
    networks:
      blade_net:
        ipv4_address: 172.30.0.58

  seata-server:
    image: seataio/seata-server:1.2.0
    hostname: "seata-server"
    ports:
      - 8091:8091
    environment:
      - TZ=Asia/Shanghai
      - SEATA_PORT=8091
      - STORE_MODE=file
    networks:
      blade_net:
        ipv4_address: 172.30.0.68

  blade-nginx:
    image: nginx:stable-alpine-perl
    hostname: "blade-nginx"
    environment:
      - TZ=Asia/Shanghai
    ports:
      - 88:88
    volumes:
      - /docker/nginx/api/nginx.conf:/etc/nginx/nginx.conf
    privileged: true
    restart: always
    networks:
      - blade_net

  web-nginx:
    image: nginx:stable-alpine-perl
    hostname: "web-nginx"
    environment:
      - TZ=Asia/Shanghai
    ports:
      - 8000:8000
    volumes:
      - /docker/nginx/web/html:/usr/share/nginx/html
      - /docker/nginx/web/nginx.conf:/etc/nginx/nginx.conf
    privileged: true
    restart: always
    networks:
      - blade_net

  blade-redis:
    image: redis:5.0.8-alpine
    hostname: "blade-redis"
    environment:
      - TZ=Asia/Shanghai
    ports:
      - 3379:6379
    volumes:
      - /docker/redis/data:/data
    command: "redis-server --appendonly yes"
    privileged: true
    restart: always
    networks:
      - blade_net

  blade-admin:
    image: "${REGISTER}/blade/blade-admin:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    ports:
      - 7002:7002
    privileged: true
    restart: always
    networks:
      - blade_net

  blade-turbine:
    image: "${REGISTER}/blade/blade-turbine:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    ports:
      - 7003:7003
    privileged: true
    restart: always
    networks:
      - blade_net

  blade-zipkin:
    image: "${REGISTER}/blade/blade-zipkin:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    ports:
      - 9411:9411
    privileged: true
    restart: always
    networks:
      - blade_net

  blade-gateway1:
    image: "${REGISTER}/blade/blade-gateway:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    privileged: true
    restart: always
    networks:
      blade_net:
        ipv4_address: 172.30.0.81

  blade-gateway2:
    image: "${REGISTER}/blade/blade-gateway:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    privileged: true
    restart: always
    networks:
      blade_net:
        ipv4_address: 172.30.0.82

  blade-auth1:
    image: "${REGISTER}/blade/blade-auth:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    privileged: true
    restart: always
    networks:
      blade_net:
        ipv4_address: 172.30.0.91

  blade-auth2:
    image: "${REGISTER}/blade/blade-auth:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    privileged: true
    restart: always
    networks:
      blade_net:
        ipv4_address: 172.30.0.92

  blade-log:
    image: "${REGISTER}/blade/blade-log:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    privileged: true
    restart: always
    networks:
      - blade_net

  blade-desk:
    image: "${REGISTER}/blade/blade-desk:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    privileged: true
    restart: always
    networks:
      - blade_net

  blade-user:
    image: "${REGISTER}/blade/blade-user:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    privileged: true
    restart: always
    networks:
      - blade_net

  blade-system:
    image: "${REGISTER}/blade/blade-system:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    privileged: true
    restart: always
    networks:
      - blade_net

  blade-flow:
    image: "${REGISTER}/blade/blade-flow:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    privileged: true
    restart: always
    networks:
      - blade_net

  blade-flow-design:
    image: "${REGISTER}/blade/blade-flow-design:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    privileged: true
    restart: always
    ports:
      - 9999:9999
    networks:
      - blade_net

  blade-resource:
    image: "${REGISTER}/blade/blade-resource:${TAG}"
    environment:
      - TZ=Asia/Shanghai
    privileged: true
    restart: always
    networks:
      - blade_net

networks:
  blade_net:
    driver: bridge
    ipam:
      config:
        - subnet: 172.30.0.0/16


1条回答
  • 需要加上.env文件,文档已经增加说明,下版本会更新

    image.png

    0 讨论(0)
提交回复