Page MenuHomePhorge

Does anyone have any documentation on setting up a dedicated GIT server to use with Phorge?
Closed, ResolvedPublic

Asked by kfoster on Mar 15 2023, 15:34.

Details

I currently run Phabricator and I am in the process of upgrading to Phorge. Currently, Diffusion is pointing to a local repo for GIT. My question comes from that I want to break the local repo away and create a new server just for GIT. I didn't see any documentation in Phabricator for this being an option, and a quick search here, I don't see one either.

Answers

valerio.bozzolan
Updated 646 Days Ago

Thank you for this question. If I've understood correctly you want to expand your infrastructure to have two different hosts: one for Phorge, and another to host repositories.

I think it's really overkill to create such infrastructure if you just have 1 git repository. Honestly the company I work for has a Phorge with 300+ repositories (some are Git, some are Svn, all are on the same server) and they still no need clustering at all, and they are happy about that. There are no performance problems and the desire was to keep it as simple as possible.

Anyway, here is the Clustering documentation if you like to try:

https://we.phorge.it/book/phorge/article/cluster/

Feel free to highlight specific problematic parts as another Question

avivey
Updated 637 Days Ago

In addition to Clustering, you can set up all Diffusion repositories in "observer" mode, where Phorge is just "watching" (cloning) the repository from whatever remote server you point it to, instead of hosting.

Phorge will check for updates from the server once in a while (few seconds to few minuets).

You will of course not be able to use Phorge to block/manage commits to the remote server, or to control access to it.

See https://we.phorge.it/book/phorge/article/diffusion_existing/

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.