Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 3|回復: 0

This allows you to customize the

[複製鏈接]

1

主題

1

帖子

5

積分

新手上路

Rank: 1

積分
5
發表於 14:43:49 | 顯示全部樓層 |閱讀模式
Deployment process by providing the following container variables. GO_RUN: to set the binary file name. If you don't create these variables, the deployment script will look for them based on the Git project name. GOPATH: to define a deployment folder such as /home/dewacloud/webapp. GO_BUILD_OPTIONS: provides additional options for build operations (by default usually for rebuilding old or current packages) GO_RUN_OPTIONS: provides options for running operations. deploy golang application When deploying on Dewacloud PaaS, the following steps will automatically occur.

Parses the Git URL that has been entered to get a link to the Go project. Download the package with all its dependencies using the go get command. If an error occurs, then do the download as for a Git project and try again to get the Go dependencies. Builds project using the go America Mobile Number List build command (using additional options such as the GO_BUILD_OPTIONS variable ). Runs the binary specified by the GO_RUN variable with the go run command (using additional options specified in the GO_RUN_OPTIONS variable ). After the deployment is successful, the Go project is located in the directory that has been set in the GOPATH variable.



Domains Management With Dewacloud PaaS, you can easily bind custom domains to the Go application. Which will later be used as a replacement for the default environment domain. There are two options to choose from. CNAME Redirect – if you are using a Shared Load Balancer, this is recommended for developer and test environments. DNS A Record – if you use a Public IP, this can handle high traffic and is suitable for production environments. domains management Apart from that, you can also swap domains which aims to switch one environment to another. For example, to switch to a newer version of an application. Note: if you use a Public IP, traffic can be redirected to another environment with the help of the SwapExtIps API method.

回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|自動贊助|z

GMT+8, 15:10 , Processed in 0.037873 second(s), 18 queries .

抗攻擊 by GameHost X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回復 返回頂部 返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |