Setup for Teams (Central Server Pattern)¶
The setup described in getting-started is sufficient for running locally on a single system, but the recommended pattern for a team is not for each team member to spin up their own service and Cache separately.
Why a Central Server?¶
- Only one person (or one CI Job) needs to run
make preload; the rest of the team just configures the Registry to point to that same server. - The Cache is shared among all members; whatever one person downloads becomes available to everyone else.
- Management, Backup, and updates are all handled in a single place.
How to Set It Up¶
- On an internal team server (e.g., a VPS or a server inside the company network), bring up the project following getting-started:
-
Make sure port
4873is accessible from the team's internal network (not justlocalhost). -
Each team member only needs to run this command on their own system:
Notes¶
- The central server is a sensitive point (Single Point of Failure); be sure to enable periodic Backups.
- For a faster Cache start, use Preload with a Profile suited to the team's stack (e.g.,
make preload PROFILE=frontend). - Use
make statusto check the server's health.