我第一步进入码头/CI/CD。
为此,我尝试使用Gitlab将原始的部署到我的数字海洋水滴(Docker Click应用程序)。这些是我的档案:
Dockerfile.yml
# STAGE 1 - Building assets
FROM node:alpine as building_assets_stage
WORKDIR /workspace
## Preparing the image (installing dependencies and building static files)
COPY ./package.json .
RUN yarn install
COPY . .
好吧,我对此非常陌生,所以如果我说的话没有意义,我非常抱歉。我是一名ruby on rails开发人员,我想使用Digital Ocean托管我的web应用程序。现在我安装了Ubuntu 18.04,并遵循本文将我的rails应用程序部署到我的web服务器上:
本文解释了如何使用一个名为Passenger的库将ruby on rails应用程序部署到Digital Ocean。在安装过程中,我们没有安装Apache或Nginx。
这就是问题所在。我找到的每个教程或文章都是关于如何使用Apache或Nginx配置SSL证书的说明。他们使用诸如“让我们加密”这样的库。但是,就像我说的,我没有使用
我们已经有了一个名为X.com的网站。现在我正在数字海洋水滴上构建一个Django应用程序。我可以使用IP地址访问它。但我们希望将其命名为reporting.X.com,以便与我们的用户共享。在我的域名提供商上,我已经添加了一个A记录,如下所示
Host- reporting
Type - A
Content - <ip-address> of digital ocean droplet
然而,当我尝试访问reporting.X.com时,我总是收到以下消息。我该怎么办?
Welcome to nginx!
If you see this page, the nginx web s
我一直在尝试在Digital Ocean上部署一个meteor应用程序。我已经像这样配置了mup.js:
module.exports = {
servers: {
one: {
host: '[droplet ip address]',
username: '[username]',
password: '[password]'
}
},
// Install MongoDB on the server. Does not destroy the local MongoDB on