version: "3.7" services: rh-hub-shell: image: devops.qdhezheng.cn:5000/qdhezheng/rh-hub-shell environment: - TZ=Asia/Shanghai - SPRING_PROFILES_ACTIVE=shellapi - JAVA_OPTS=-Xmx2000M -Xms688M -Xmn448M -XX:MaxMetaspaceSize=256M -XX:MetaspaceSize=256M ports: - 10089:10089 working_dir: /app restart: always volumes: - filedata:/app/upload - ./application-shellapi.yml:/app/application-shellapi.yml - ./client.jks:/app/client.jks networks: my_net: aliases: - rh-hub-shell rht-job: image: devops.qdhezheng.cn:5000/qdhezheng/rht-job environment: - TZ=Asia/Shanghai - JAVA_OPTS=-Xmx1000M -Xms688M -Xmn448M -XX:MaxMetaspaceSize=256M -XX:MetaspaceSize=256M ports: - 8092:8092 working_dir: /app restart: always volumes: - filedata:/app/upload - ./application.properties:/app/application.properties networks: my_net: aliases: - rht-job networks: my_net: volumes: filedata: