aboutsummaryrefslogtreecommitdiffstats
path: root/doc/md
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-02-28 16:27:14 +0100
committerMichael Muré <batolettre@gmail.com>2021-02-28 21:20:15 +0100
commitea329aed6909cac85680dbae37f6f4dcca134f8b (patch)
tree7183be55a5bc65cafa75f1a16f24cad84d8ad9fb /doc/md
parent3957d4a027b034f9b9a78b160691992b9f4de291 (diff)
downloadgit-bug-ea329aed6909cac85680dbae37f6f4dcca134f8b.tar.gz
Add option to specify host address
'--host'-cmdline-option is added to the webui command. Previously, the WebUI couldn't be hosted inside of a container. As the WebUI-server only listend per default to localhost and there was no option to change the address, the server should listend to. This means, that the WebUI was only reachable from localhost. So only from inside of the container but never from outside. The '--host'-option allows to set the IP address or a hostname which the WebUI-server should listen to. E.g. by setting 0.0.0.0 or :: as address. Update documentation for new option. Update shell completion for new option. Compilation seems to add another go-gitlab version.
Diffstat (limited to 'doc/md')
-rw-r--r--doc/md/git-bug_webui.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/md/git-bug_webui.md b/doc/md/git-bug_webui.md
index 98a61eb2..ccfaff9a 100644
--- a/doc/md/git-bug_webui.md
+++ b/doc/md/git-bug_webui.md
@@ -17,11 +17,12 @@ git-bug webui [flags]
### Options
```
- --open Automatically open the web UI in the default browser
- --no-open Prevent the automatic opening of the web UI in the default browser
- -p, --port int Port to listen to (default is random)
- --read-only Whether to run the web UI in read-only mode
- -h, --help help for webui
+ --host string Network address or hostname to listen to (default to 127.0.0.1) (default "127.0.0.1")
+ --open Automatically open the web UI in the default browser
+ --no-open Prevent the automatic opening of the web UI in the default browser
+ -p, --port int Port to listen to (default to random available port)
+ --read-only Whether to run the web UI in read-only mode
+ -h, --help help for webui
```
### SEE ALSO