RedpointArchive / phabricator

A Docker image that runs Phabricator, an open source software engineering tool
https://hub.docker.com/r/redpointgames/phabricator/
307 stars 98 forks source link

Support High Availability Cluster of Phabricator Docker containers #45

Closed hach-que closed 7 years ago

hach-que commented 8 years ago

I intend to add support for High Availability clustering of Phabricator Docker containers.

This will roughly require adding a:

Users of the high availability configuration will need to build out the cluster like so:

At this point, users should have a basically functioning Phabricator system, without any repository storage, SSH access or real-time notifications.

Users can then:

Each of these types of nodes should signal in the cluster that they're offering these particular functionalities, so we can tailor information in the cluster (such as the SSH URLs displayed in Diffusion) with the relevant access information.

ruiyunli commented 5 years ago

Could u provider any 'README' help me configure a cluster environment with latest docker version? I have try step by step with the introduction of the URL, but it does not work. I am so tired... https://secure.phabricator.com/book/phabricator/article/cluster/

hach-que commented 5 years ago

This container doesn't support cluster / high availability configurations.

If you require a HA setup, I recommend just using Phacility. Single node Phabricator is hard enough to get running, cluster mode is a nightmare (as someone who has actually done it before).

On Tue, May 14, 2019, 8:14 AM ruiyunli notifications@github.com wrote:

Could u provider any 'README' help me configure a cluster environment with latest docker version? I have try step by step with the introduction of the URL, but it does not work. I am so tired... https://secure.phabricator.com/book/phabricator/article/cluster/

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/RedpointGames/phabricator/issues/45?email_source=notifications&email_token=AAD3H6TIUUQJIRYTU6UYQITPVLJNFA5CNFSM4CO6DWP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVLZ5PQ#issuecomment-492281534, or mute the thread https://github.com/notifications/unsubscribe-auth/AAD3H6QNIBLVRAO7R6YYVVTPVLJNFANCNFSM4CO6DWPQ .

ruiyunli commented 5 years ago

@hach-que thank you so much! It is so kind of you.

After a week of work, I finally build a docker image, and I treat it as cluster environment. Actually, I am not sure. The main reason is that two phabricator container are linked to the same mysql container. I think it needs more time to test and verify the details.