我是Rasa和Docker的新手,我想在Docker中部署我的rasa项目。我找不到正确的流程进行部署。我从博客和docker视频中了解了部署的内容,并尝试这样做。 第一步:我必须创建一个包含项目源代码和需求的docker镜像。 Dockerfile FROM rasa/rasa
COPY . /chatbot
WORKDIR /chatbot
RUN pip install -r requirements.txt
USER root
COPY ./actions /app/actions
USER 1001 requirements.txt pyaml
f
1)我知道并且已经在dokku部署了很多应用。
2)我知道整个git推送到dokku的一个子域的过程。
3)我自己也运行docker中的图像,它们运行得很好。
4)我似乎真的找不到这个问题的答案。如何在DOKKU应用中运行DOCKER镜像。我想让docker镜像在dokku应用程序中运行,而不是使用docker run单独运行。这就是我的想象:
dokku create:app myApp
<Now make that app run a Docker image, i DONT want to git push and build.>
谢谢!
当我尝试部署ruby-rails-示例时,一切都进行得很好,但是当我尝试部署我的应用程序时,
-----> Building app from herokuish...
remote: /var/lib/dokku/plugins/enabled/00_dokku-standard/commands: line 20: docker: command not found
remote: /var/lib/dokku/plugins/enabled/00_dokku-standard/commands: line 20: tar: command not found
有什么需要我检查的吗?
我已经将我的rasa x聊天机器人对接,并将其部署在heroku中,但应用程序一直崩溃。
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
我的docker文件如下所示:
FROM ubuntu:18.04
ENTRYPOINT []
RUN apt-get update && apt-get install -y python3.7 python3-pip && python3 -m pip install --no-ca
在我的express.js应用程序中使用redis作为我的会话存储。我有麻烦了。把它们缩小到一个连接问题上。
如何从express.js应用程序中访问docker环境变量?我在用dokku-redis。
它报告说,在链接的应用程序上自动设置环境变量..。我已经链接了我的应用程序。运行dokku redis:info foo显示了所有的链接。我想把REDIS_URL拉进来
谢谢你,罗伯
------------
a redis service can be linked to a
container this will use native docker
links via the docke
我用dokku apps:create appname在Azure上的Ubuntu虚拟机上制作了两个dokku应用程序
$dokku apps
=====> My Apps
api
frontend
我可以成功地部署到第一个,但不能部署到另一个:
git push dokku@myserver.com:api成功了,但是
git push dokku@myserver.com:frontend失败了
fatal: 'frontend' does not appear to be a git repository
fatal: Could not read from rem
我在AVR chatbot上使用过rasa framework,我使用docker部署了聊天机器人,这给出了以下错误:
sudo docker-compose up -d
WARNING: The DB_PASSWORD variable is not set. Defaulting to a blank string.
WARNING: The RASA_X_DEMO_VERSION variable is not set. Defaulting to a blank string.
WARNING: The REDIS_PASSWORD variable is not set. Defau
我正在尝试将位于本地git上的应用程序部署到数字海洋上的dokku实例中。
区域文件
$ORIGIN mydomain.com.
$TTL 1800
...
mydomain.com. 1800 IN A 11.22.33.44
www.mydomain.com. 1800 IN CNAME mydomain.com.
*.mydomain.com. 1800 IN A 11.22.33.44
test.mydomain.com. 1800 IN A 11.22.33.44
我打算在test.mydomain.com上部署我的应用程序
dokku设置
我使用数字海洋上的dokku映像来安装服务
我正在尝试将一个PHP应用程序部署到dokku。当我推送代码或运行dokku ps:rebuild app时,构建过程会一直持续到最后,并说
=====> Application deployed:
http://app.example.com
但是,访问地址并不能为应用程序提供服务,如果我运行dokku ls,就会得到以下输出:
-----> App Name Container Type Container Id Status
app NOT_DEPLOYED NOT_DEPLOY
我试图在heroku和docker上部署rasa应用程序,我已经成功地登录了容器,但是在运行以下命令时,我得到了一个错误。
sudo heroku container:push web
误差
Error: Missing required flag:
› -a, --app APP app to run command against
Dockerfile
FROM ubuntu:18.04
ENTRYPOINT []
RUN apt-get update && apt-get install -y python3.7 python3-pip
RUN pip3 in