Stateless, disposable coding OA platform
README.md

WalGit with SeaweedFS #

Local trial environment for WalGit backed by SeaweedFS's S3-compatible API.

WalGit with SeaweedFS

Start #

The first run builds WalGit from its pinned upstream commit and can take several minutes.

docker compose up --build -d
docker compose ps
docker compose logs -f walgit

Services:

The local WalGit token defaults to walgit-dev-token. Override it before starting with WALGIT_TOKEN_DEV=another-token docker compose up --build -d.

Push a repository #

WalGit creates demo/hello on the first push:

mkdir -p /tmp/walgit-demo
cd /tmp/walgit-demo
git init -b main
echo '# hello' > README.md
git add README.md
git commit -m 'Initial commit'
git -c http.extraHeader='Authorization: Bearer walgit-dev-token' \
  push http://localhost:8080/demo/hello.git main

Clone it again with HTTP Basic authentication, using the token as the password:

git clone http://dev:walgit-dev-token@localhost:8080/demo/hello.git

Stop #

docker compose down

Repository objects remain in the seaweedfs-data volume. To also remove the trial data and WalGit's disposable cache, run docker compose down -v.