Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
GitLab
管理
动态
成员
标记
计划
议题
议题看板
里程碑
迭代
需求
代码
合并请求
仓库
分支
提交
标签
仓库图
比较修订版本
代码片段
锁定的文件
构建
流水线
作业
流水线计划
测试用例
产物
部署
发布
Package registry
Container registry
模型注册表
运维
环境
Terraform 模块
监控
事件
服务台
分析
价值流分析
贡献者分析
CI/CD 分析
仓库分析
代码评审分析
议题分析
洞察
模型实验
效能分析
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
显示更多面包屑
gitlab-cn
GitLab
提交
ca30d639
提交
ca30d639
编辑于
6 years ago
作者:
Jacob Vosmaer
浏览文件
操作
下载
差异文件
Merge branch 'update-readme-md-usage' into 'master'
Update README.md usage example See merge request gitlab-org/gitlab-workhorse!342
上级
a7ac0363
1b89805e
No related branches found
No related tags found
无相关合并请求
变更
1
隐藏空白变更内容
行内
左右并排
显示
1 个更改的文件
README.md
+25
-19
25 个添加, 19 个删除
README.md
有
25 个添加
和
19 个删除
README.md
+
25
−
19
浏览文件 @
ca30d639
...
@@ -37,37 +37,43 @@ gitlab-workhorse'][brief-history-blog].
...
@@ -37,37 +37,43 @@ gitlab-workhorse'][brief-history-blog].
Options:
Options:
-apiCiLongPollingDuration duration
-apiCiLongPollingDuration duration
Long polling duration for job requesting for runners (default 0s -
dis
abled)
Long polling duration for job requesting for runners (default
5
0s -
en
abled)
(default 50ns)
-apiLimit uint
-apiLimit uint
Number of API requests allowed at single time
Number of API requests allowed at single time
-apiQueueDuration duration
-apiQueueDuration duration
Maximum queueing duration of requests (default 30s)
Maximum queueing duration of requests (default 30s)
-apiQueueLimit uint
-apiQueueLimit uint
Number of API requests allowed to be queued
Number of API requests allowed to be queued
-authBackend string
-authBackend string
Authentication/authorization backend (default "http://localhost:8080")
Authentication/authorization backend (default "http://localhost:8080")
-authSocket string
-authSocket string
Optional: Unix domain socket to dial authBackend at
Optional: Unix domain socket to dial authBackend at
-config string
TOML file to load config from
-developmentMode
-developmentMode
Allow the assets to be served from Rails app
Allow the assets to be served from Rails app
-documentRoot string
-documentRoot string
Path to static files content (default "public")
Path to static files content (default "public")
-listenAddr string
-listenAddr string
Listen address for HTTP server (default "localhost:8181")
Listen address for HTTP server (default "localhost:8181")
-listenNetwork string
-listenNetwork string
Listen 'network' (tcp, tcp4, tcp6, unix) (default "tcp")
Listen 'network' (tcp, tcp4, tcp6, unix) (default "tcp")
-listenUmask int
-listenUmask int
Umask for Unix socket
Umask for Unix socket
-logFile string
Log file location
-logFormat string
Log format to use defaults to text (text, json, structured, none) (default "text")
-pprofListenAddr string
-pprofListenAddr string
pprof listening address, e.g. 'localhost:6060'
pprof listening address, e.g. 'localhost:6060'
-prometheusListenAddr string
Prometheus listening address, e.g. 'localhost:9229'
-proxyHeadersTimeout duration
-proxyHeadersTimeout duration
How long to wait for response headers when proxying the request (default 5m0s)
How long to wait for response headers when proxying the request (default 5m0s)
-secretPath string
-secretPath string
File with secret key to authenticate with authBackend (default "./.gitlab_workhorse_secret")
File with secret key to authenticate with authBackend (default "./.gitlab_workhorse_secret")
-config string
File that hold configuration. Currently only for redis. File is in TOML-format (default "")
-version
-version
Print version and exit
Print version and exit
```
```
The 'auth backend' refers to the GitLab Rails application. The name is
The 'auth backend' refers to the GitLab Rails application. The name is
...
@@ -80,8 +86,8 @@ can also open a second listening TCP listening socket with the Go
...
@@ -80,8 +86,8 @@ can also open a second listening TCP listening socket with the Go
Gitlab-workhorse can listen on redis events (currently only builds/register
Gitlab-workhorse can listen on redis events (currently only builds/register
for runners). This requires you to pass a valid TOML config file via
for runners). This requires you to pass a valid TOML config file via
`-config`
flag.
`-config`
flag.
For regular setups it only requires the following (replacing the string
For regular setups it only requires the following (replacing the string
with the actual socket)
with the actual socket)
### Redis
### Redis
...
...
此差异已折叠。
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录