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
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@
14
14
- Commit feeds (atom format).
15
15
- Discovery of Git repositories.
16
16
- On-the-fly archives for tags and commits.
17
-
- Plugin support for e.g. syntax highlighting.
17
+
- Plugin support e.g. syntax highlighting.
18
18
- Side-by-side diffs.
19
19
- Simple time/author statistics.
20
20
- Simple virtual hosting support (macro expansion).
21
21
- Understands GitWeb project-lists.
22
-
- Understands gitweb.owner in Git config files.
23
-
- Has extensive filtering framework using scripts or a built-in lua interpreter.
22
+
- Understands `gitweb.owner` in Git config files.
23
+
- Has an extensive filtering framework using scripts or a built-in Lua interpreter.
24
24
25
25
See [CGit project](https://git.zx2c4.com/cgit/about/) for more details.
26
26
@@ -49,19 +49,19 @@ Note that all these paths can be overwritten via [Bind Mounts](https://docs.dock
49
49
50
50
## Settings via environment variables
51
51
52
-
CGit Docker image can be configured via environment variables. This is the default behaviour.
52
+
CGit Docker image can be configured via environment variables. This is the default behavior.
53
53
54
54
-`CGIT_TITLE`: Website title.
55
55
-`CGIT_DESC`: Website description.
56
56
-`CGIT_VROOT`: Virtual root directory.
57
57
-`CGIT_SECTION_FROM_STARTPATH`: How many path elements from each repo path to use as a default section name.
58
58
-`CGIT_MAX_REPO_COUNT`: Number of entries to list per page on the repository index page.
59
59
60
-
## Settings via custom configration file
60
+
## Settings via custom configuration file
61
61
62
-
By default this Docker image will use a template file located at [cgit/cgit.conf](./cgit/cgit.conf) which is replaced with the env settings (mentioned above) at startup time.
62
+
By default, this Docker image will use a template file located at [cgit/cgit.conf](./cgit/cgit.conf) which is replaced with the env settings (mentioned above) at start-up time.
63
63
64
-
However if you want to use a custom `/etc/cgitrc` file then follow these steps:
64
+
However, if you want to use a custom `/etc/cgitrc` file then follow these steps:
65
65
66
66
1. Provide the env variable `USE_CUSTOM_CONFIG=true` to prevent using the default config file.
67
67
2. Provide the custom config file as a [Bind Mount](https://docs.docker.com/storage/bind-mounts/) or [Docker Volume](https://docs.docker.com/storage/volumes/). For example `--volume my-config-file:/etc/cgitrc`
@@ -75,7 +75,7 @@ See [`cgitrc` man page](https://linux.die.net/man/5/cgitrc) for more detailed in
75
75
76
76
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in current work by you, as defined in the Apache-2.0 license, shall be dual licensed as described below, without any additional terms or conditions.
77
77
78
-
Feel free to send some [Pull request](https://github.com/joseluisq/alpine-cgit/pulls) or [issue](https://github.com/joseluisq/alpine-cgit/issues).
78
+
Feel free to send some [Pull request](https://github.com/joseluisq/alpine-cgit/pulls) or file an [issue](https://github.com/joseluisq/alpine-cgit/issues).
0 commit comments