git-server-docker-stagit

git-server-with-stagit
git clone git://git.andersuno.nu/git-server-docker-stagit.git
Log | Files | Refs | README

commit 313585bc35c14a4be6d0e707fba3c55880953891
parent e52df1279df46fc9197684bbe01fc5f79af1d883
Author: andersuno <anders@desk.andersuno.nu>
Date:   Sat, 13 Aug 2022 17:05:47 +0200

Updated README

Diffstat:
MREADME.md | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -28,6 +28,7 @@ A lightweight Git Server Docker image built with stagit running Alpine Linux. Stagit produces static html with every push to a repo. A web server container can then be configured to mount that same storage and serve the html. +Anonymous read-only cloning is enabled via the git daemon on port 9418. ## Credits @@ -95,7 +96,7 @@ $ git clone ssh://git@<ip-docker-server>:2222/git-server/repos/<repo-name>.git ### Upload existing repo into the new empty repo ``` sh -$ git remote add <remote-name> \ +$ git remote add <remote-name> ssh://git@<ip-docker-server>:2222/git-server/repos/<repo-name>.git $ git push <remote-name> <branch name> ``` @@ -124,5 +125,4 @@ Here I am using nginx from dockerhub binding to localhost:8080. $ docker run -d -p 8080:80 -v ./public-html:/usr/share/nginx/html nginx:stable-alpine ``` - ## K8S TODO