diff options
| author | 2025-11-10 10:37:40 +0100 | |
|---|---|---|
| committer | 2025-11-10 10:37:40 +0100 | |
| commit | 28c2c2bbbbbda03aed9a29224302283cc4e86ab3 (patch) | |
| tree | 009b69720d15196d7b9b1901211a9824b8a30ca2 | |
| parent | 3512e0a6c6086c2bd20485e3670b6481e8cfa67a (diff) | |
Renamed project to gitfish. Much nicer than git-server that is actually more misleading
| -rw-r--r-- | Dockerfile | 11 | ||||
| -rw-r--r-- | README.md | 10 | ||||
| -rw-r--r-- | src/banner | 6 | ||||
| -rw-r--r-- | src/env | 1 | ||||
| -rwxr-xr-x | src/init | 11 |
5 files changed, 20 insertions, 19 deletions
@@ -21,6 +21,7 @@ RUN chmod 755 /usr/local/bin/init RUN chmod 755 /usr/local/bin/git-run COPY src/version /usr/local/bin/ +COPY src/banner /usr/local/bin/ ENTRYPOINT ["/usr/local/bin/init"] @@ -30,9 +31,9 @@ ARG APP_VERSION LABEL org.opencontainers.image.licenses="GPL-3.0-or-later" LABEL org.opencontainers.image.authors="Matthias Jaros" LABEL org.opencontainers.image.version="${APP_VERSION}" -LABEL org.opencontainers.image.source="https://github.com/jarlucmat/git-server" -LABEL org.opencontainers.image.url="https://github.com/jarlucmat/git-server" -LABEL org.opencontainers.image.title="git-server" +LABEL org.opencontainers.image.source="https://github.com/jarlucmat/gitfish" +LABEL org.opencontainers.image.url="https://github.com/jarlucmat/gitfish" +LABEL org.opencontainers.image.title="gitfish" LABEL org.opencontainers.image.description="A minimal, secure Git server using SSH and Fish." -LABEL org.opencontainers.image.documentation="/usr/share/doc/git-server/LICENSE" -COPY LICENSE /usr/share/doc/git-server/LICENSE +LABEL org.opencontainers.image.documentation="/usr/share/doc/gitfish/LICENSE" +COPY LICENSE /usr/share/doc/gitfish/LICENSE @@ -1,6 +1,6 @@ -# git-server +# Gitfish -Welcome to **git-server** — a simple, fast, memory-friendly, and secure server for your Git repositories. +Welcome to **gitfish** — a simple, fast, memory-friendly, and secure GIT-over-SSH server for your repositories. The goal of this project is to provide a **minimal Git server** with no unnecessary features or management overhead. It’s designed for everyone who doesn’t need or want a fancy GUI or advanced functionality beyond the essentials. @@ -38,7 +38,7 @@ This server applies multiple hardening and sandboxing measures, such as: ### Command Line ```sh -docker run --rm -p "2222:22" jarlucmat/git-server -u "user1:ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbm +docker run --rm -p "2222:22" jarlucmat/gitfish -u "user1:ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbm lzdHAyNTYAAABBBPsl91WPAT8aWwZ6y5WAfXU9PoHzxJ3YG9uFgSmlGQr2HwV+gL/XaTBJ4Brj+pa+R7tfYEBMi+7Navx/ZsEmr9E= mj@xps15" -r "/repo1.git;user1:w" ``` @@ -46,8 +46,8 @@ lzdHAyNTYAAABBBPsl91WPAT8aWwZ6y5WAfXU9PoHzxJ3YG9uFgSmlGQr2HwV+gL/XaTBJ4Brj+pa+R7 Docker Compose: ```yaml services: - git-server: - image: jarlucmat/git-server + gitfish: + image: jarlucmat/gitfish ports: - "2222:22" environment: diff --git a/src/banner b/src/banner new file mode 100644 index 0000000..8b92475 --- /dev/null +++ b/src/banner @@ -0,0 +1,6 @@ + _ _ __ _ _ + __ _(_) |_ / _(_)___| |__ + / _` | | __| |_| / __| '_ \ +| (_| | | |_| _| \__ \ | | | + \__, |_|\__|_| |_|___/_| |_| + |___/
\ No newline at end of file @@ -7,3 +7,4 @@ set _GIT_SUDO_GROUP gitsudo set _LOG /var/log/git-run set _PERMISSIONS r w set _VERSION (cat (status dirname)/version) +set _BANNER (cat (status dirname)/banner | string collect) @@ -141,17 +141,10 @@ end function showBanner echo - echo ' - _ _ - __ _(_) |_ ___ ___ _ ____ _____ _ __ - / _` | | __|____/ __|/ _ \ '__\ \ / / _ \ '__| -| (_| | | ||_____\__ \ __/ | \ V / __/ | - \__, |_|\__| |___/\___|_| \_/ \___|_| - |___/ -' + echo $_BANNER echo echo Copyright Matthias Jaros 2025 - echo This software is licensed under GPLv3. See /usr/share/doc/git-server/LICENSE + echo This software is licensed under GPLv3. See /usr/share/doc/gitfish/LICENSE echo end |
