Summary
The git-service currently exposes port 9418 labelled as "Git protocol" in the Compose configuration. The raw git:// protocol is unauthenticated, unencrypted, and should not be used in any deployment that approaches production. The service already speaks HTTP smart protocol; this task migrates that binding to port 5000 and removes the legacy port 9418 declaration.
Scope
In Scope:
- Change
GITSTORE_GIT_PORT from 9418 to 5000 in compose.yml and any environment defaults.
- Update the
ports mapping in the git-service service to expose 5000 instead of 9418.
- Remove or gate the raw
git:// protocol listener in gitstore-git-service source code; only HTTP smart protocol should be served.
- Update the service healthcheck to probe port
5000.
- Update any inter-service references (e.g.
GITSTORE_GIT_WS, git clone URLs in scripts and docs) to use the new port.
- Update
docs/user-guide.md clone examples from http://localhost:9418/catalog.git to http://localhost:5000/catalog.git.
- Verify
git clone, git fetch, and git push all work over HTTP smart protocol on port 5000.
Out of scope:
- Implementing smart http protocol
- Implementing ssh protocol
- Implementing authentication
Acceptance Criteria
Summary
The
git-servicecurrently exposes port9418labelled as "Git protocol" in the Compose configuration. The rawgit://protocol is unauthenticated, unencrypted, and should not be used in any deployment that approaches production. The service already speaks HTTP smart protocol; this task migrates that binding to port5000and removes the legacy port9418declaration.Scope
In Scope:
GITSTORE_GIT_PORTfrom9418to5000incompose.ymland any environment defaults.portsmapping in thegit-serviceservice to expose5000instead of9418.git://protocol listener ingitstore-git-servicesource code; only HTTP smart protocol should be served.5000.GITSTORE_GIT_WS, git clone URLs in scripts and docs) to use the new port.docs/user-guide.mdclone examples fromhttp://localhost:9418/catalog.gittohttp://localhost:5000/catalog.git.git clone,git fetch, andgit pushall work over HTTP smart protocol on port5000.Out of scope:
Acceptance Criteria
9418is no longer exposed on any GitStore Compose service.git clone http://localhost:5000/catalog.gitsucceeds end-to-end.git://scheme is used anywhere in compose files, scripts, or documentation.