You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,7 @@ Configuration values can be supplied as environment variables, via a JSON config
75
75
|`GBM_PROVIDER`| Git provider to use (`github` or `gitlab`). Defaults to `github`. |
76
76
|`GBM_NAMESPACE`| Optional suffix added to the bookmarks repository name. |
77
77
|`GBM_TITLE`| Overrides the page title shown in the browser. |
78
+
|`GITLAB_SERVER`| Base URL for self-hosted GitLab, e.g. `https://gitlab.example.com`|
78
79
|`GOBM_ENV_FILE`| Path to a file of `KEY=VALUE` pairs loaded before the environment. Defaults to `/etc/gobookmarks/gobookmarks.env`. |
79
80
|`GOBM_CONFIG_FILE`| Path to the JSON config file. If unset the program uses `$XDG_CONFIG_HOME/gobookmarks/config.json` or `$HOME/.config/gobookmarks/config.json` for normal users and `/etc/gobookmarks/config.json` when run as root. |
80
81
@@ -85,6 +86,7 @@ Use `--config <path>` or set `GOBM_CONFIG_FILE` to control which configuration f
85
86
86
87
The `--provider` command line flag or `GBM_PROVIDER` environment variable selects which git provider to use. By default the binary includes both GitHub and GitLab support. Use build tags `nogithub` or `nogitlab` to exclude either provider when building from source. If you specify an unknown provider the program will exit with an error listing the available options.
87
88
The `--title` flag or `GBM_TITLE` environment variable sets the browser page title.
89
+
Use `--gitlab-server` or `GITLAB_SERVER` to point the application at a self-hosted GitLab instance.
88
90
89
91
Running `gobookmarks --version` will print the version information along with the list of compiled-in providers.
90
92
Use `--dump-config` to print the final configuration after merging the environment,
0 commit comments