hooks: allow to bind to existing hostname automatically if nothing explicitly is set.
This commit is contained in:
parent
c691bf8c9a
commit
16ca79921f
5 changed files with 31 additions and 14 deletions
|
|
@ -645,9 +645,10 @@ vcs.scm_app_implementation = http
|
|||
; `http` - use http-rpc backend (default)
|
||||
vcs.hooks.protocol = http
|
||||
|
||||
; Host on which this instance is listening for hooks. If vcsserver is in other location
|
||||
; this should be adjusted.
|
||||
vcs.hooks.host = 127.0.0.1
|
||||
; Host on which this instance is listening for hooks. vcsserver will call this host to pull/push hooks so it should be
|
||||
; accessible via network.
|
||||
; Use vcs.hooks.host = "*" to bind to current hostname (for Docker)
|
||||
vcs.hooks.host = *
|
||||
|
||||
; Start VCSServer with this instance as a subprocess, useful for development
|
||||
vcs.start_server = false
|
||||
|
|
|
|||
|
|
@ -596,9 +596,10 @@ vcs.scm_app_implementation = http
|
|||
; `http` - use http-rpc backend (default)
|
||||
vcs.hooks.protocol = http
|
||||
|
||||
; Host on which this instance is listening for hooks. If vcsserver is in other location
|
||||
; this should be adjusted.
|
||||
vcs.hooks.host = 127.0.0.1
|
||||
; Host on which this instance is listening for hooks. vcsserver will call this host to pull/push hooks so it should be
|
||||
; accessible via network.
|
||||
; Use vcs.hooks.host = "*" to bind to current hostname (for Docker)
|
||||
vcs.hooks.host = *
|
||||
|
||||
; Start VCSServer with this instance as a subprocess, useful for development
|
||||
vcs.start_server = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue