- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试安装 IPython html notebook server
在 dotCloud 上。 IPython 服务器使用 Tornado 和 websockets(以及在 tcp 套接字上使用 zeromq 的其他内部通信)。
这是我的 dotcloud.yml :
www:
type: custom
buildscript: builder
ports:
nbserver: tcp
127.0.0.1:$DOTCLOUD_WWW_NBSERVER_PORT
上运行 Tornado 服务器:
[NotebookApp] The IPython Notebook is running at: 'http://127.0.0.1:35928/'
[NotebookApp] Use Control-C to stop this server and shut down all kernels.
WARNING: The service crashed at startup or is listening to the wrong port. It failed to >respond on port "nbserver" (42801) within 30 seconds. Please check the application logs.
...
Deployment finished. Your application is available at the following URLs No URL found. That's ok, it means that your application does not include a webservice."
my-app.dotcloud.com
上什么都没有或
my-app.dotcloud.com:DOTCLOUD_WWW_NBSERVER_PORT
www:
type: custom
buildscript: builder
ports:
web: http
ipython_notebook_config.py
:
c.NotebookApp.ip = '*'
最佳答案
真高兴你做到了!
将来,对于其他读者,您实际上希望您的应用收听 $PORT_NBSERVER
然后在 DOTCLOUD_WWW_NBSERVER_PORT
上连接到它. $PORT_NBSERVER
是本地端口,而后者是通过我们的路由/NAT 层暴露给外界的端口。
如果您有任何其他问题,请随时通过 http://support.dotcloud.com 与我们联系。
来源:我是 dotCloud 员工。
关于websocket - 如何将在 dotcloud 上提供 websockets 的 Tornado 服务器暴露给 www?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12266863/
根据 dotcloud 上的文档,我执行了“dotcloud alias add ramen.www www.example.com”。然后我得到“请添加以下 dns 记录:www.example.c
是否可以将两个“www”条目放入 dotcloud.yml 文件中?我想要一个 type:node 和一个 type:static,但它们位于 .yml 文件的“www”部分。不确定我是否能做到,但我
dotcloud 域与 https 一起使用,即 https://xxxx-username.dotcloud.com/ 但是我如何将它添加到自定义域中? https://mydomain.com 最
dotcloud 提供了许多有用的信息作为环境变量,但我的 nginx.conf 无法访问环境变量。有什么好的解决方法? 场景如下:我想将某些 URL 从我的 www 静态服务重定向到我的 rest
运行 docker 后如何知道容器的网络接口(interface)? 请求在 docker 中为容器设置防火墙的简单示例。 最佳答案 好的,我在 IRC 上问了这个问题。如果您需要拒绝/允许从所有容器
http://docs.dotcloud.com/guides/daemons/状态: Configuring The Environment You can easily modify the en
我正在尝试在 dotcloud 上设置一个 twistd 守护进程: 我的 supervisord.conf 文件: [program:apnsd] command=/home/dotcloud/en
所以我在 dotcloud 上运行一个 flask python 应用程序,我基本上是在尝试散列密码(使用 hashlib.sha512;盐是 uuid.uuid4().bytes)。 user_di
我在 dotCloud 上有一个 python 应用程序。我使用 dotCloud Push 发布了我的原始代码。之后,我使用 dotcloud run --application myApp www
我尝试在 dotcloud 上安装 Thin,遵循 official document , 但我失败了。 "Thin:up..."出现在 cli 上,但我无法通过打开 webapp 的 url 看到它
如何将目录从主机挂载到 Docker 中的容器? 最佳答案 作为最后一次更新,该功能现已在 Docker 中发布(尽管 API 在@imiric 链接的拉取请求后发生了变化)。 只需使用类似的命令 d
我正在尝试运行 cron 来运行自定义 Django 管理命令。我在 DotCloud 上运行。 当 cron 运行时,出现以下错误: Traceback (most recent call last
我正在使用 Dotcloud 部署我的 Django 应用程序。在本地开发时,我必须在某些依赖项(位于我的 virtualenv 中)的代码中进行更改。 所以我的问题是:在 dotcloud 上部署时
我使用 BLOB db 类型 on play 框架将文件上传到服务器。在 application.conf 文件中我有 attachments.path=home/dotcloud/uploads 但
我找不到让 redis 在 dotcloud 上启动时加载我自己的 dump.rdb 备份文件的方法。我可以在服务器日志中看到 redis 正在加载一个文件,但我不知道它在哪里(我也找不到它) [14
docker run 通常会返回它运行的命令的输出。我需要将一些数据传递给 docker,运行处理数据的命令,然后返回输出。当我使用 -i 选项时,不返回任何输出。考虑这个简单的例子: echo he
我一直在尝试让主管监控我的nodejs 服务器进程,但是我在让supervisord.conf 正常工作时遇到问题。当我部署时,出现以下错误: WARNING: The service crashed
我正在尝试运行一个 nodejs 套接字服务器,该服务器将允许两个运行 Flash 游戏并使用自定义协议(protocol)进行通信的客户端之间进行远程通信。由于 Flash 安全限制,套接字服务器似
我在 dotCloud 上部署 Node.js 服务时看到以下错误: 23:03:59.958870: [www] npm ERR! Error: SSL Error: CERT_UNTRUSTED
我正在尝试在托管服务“dotcloud”上托管一个 nodejs 应用程序。我的 nodejs 使用包“websocket”来处理通信。IE。 npm 安装 websocket 我的应用程序在笔记本电
我是一名优秀的程序员,十分优秀!