Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google cloud platform 从远程Orthanc服务器向Ohif查看器获取数据_Google Cloud Platform_Server_Viewer_Medical Imaging - Fatal编程技术网

Google cloud platform 从远程Orthanc服务器向Ohif查看器获取数据

Google cloud platform 从远程Orthanc服务器向Ohif查看器获取数据,google-cloud-platform,server,viewer,medical-imaging,Google Cloud Platform,Server,Viewer,Medical Imaging,我的应用程序正在docker上运行。 在本地版本的应用程序上,我运行Ohif查看器,我正在使用命令run dev:orhanc。 由于我希望从远程Orhtanc服务器获取数据,我将package.json文件脚本“dev:orhanc”从1)更改为2),并且所有内容都正常工作。我在本地机器查看器上有来自Orthanc服务器的图像 “dev:orthanc”:“跨环境节点\环境=开发代理\目标=/dicom web代理\域”=http://localhost:8042 APP\u CONFIG=C

我的应用程序正在docker上运行。 在本地版本的应用程序上,我运行Ohif查看器,我正在使用命令run dev:orhanc。 由于我希望从远程Orhtanc服务器获取数据,我将package.json文件脚本“dev:orhanc”从1)更改为2),并且所有内容都正常工作。我在本地机器查看器上有来自Orthanc服务器的图像

  • “dev:orthanc”:“跨环境节点\环境=开发代理\目标=/dicom web代理\域”=http://localhost:8042 APP\u CONFIG=CONFIG/docker\u nginx-orhanc.js网页包开发服务器--CONFIG.webpack/webpack.pwa.js--watch“

  • “dev:orthanc”:“跨环境节点\环境=开发代理\目标=/dicom web代理\域”=http://myRemoteServerIP:8042 APP\u CONFIG=CONFIG/docker\u nginx-orhanc.js网页包开发服务器--CONFIG.webpack/webpack.pwa.js--watch“

  • 现在我想在GCP实例上做同样的事情。 我怎么做? 我试图用localhost将所有URL更改为我的实例IP,但没有成功。 我还尝试在docker compose容器上运行ohif查看器,但在我的解决方案中它不起作用

    viewer:
        container_name: ohif-viewer
        build:
          context: ./ohif-viewer/Viewers/
          dockerfile: Dockerfile
        ports:
          - "3000:80"
        environment:
          - MONGO_URL=mongodb://mongo:27017/ohif
        volumes:
        - ./config/default.js:/usr/share/nginx/html/config/default.js
        depends_on:
        - comiere-mongo
    

    有人能帮助我,告诉我如何在生产服务器上使用来自远程服务器的映像运行它吗?我有哪个IP?

    您的实例需要端口27017 FW规则集,或者您需要在项目中为端口27017添加入口FW规则。在与实例相同的VPC上为创建允许的FW规则,调整优先级(给予更高的优先级)源0.0.0.0/0、TCP/UDP,并进行测试

    确保外部IP未被删除


    您的实例需要端口27017 FW规则集,或者您需要在项目中为端口27017添加入口FW规则。在与实例相同的VPC上为创建允许的FW规则,调整优先级(给予更高的优先级)源0.0.0.0/0、TCP/UDP,并进行测试

    确保外部IP未被删除