Closed casesolved-co-uk closed 1 month ago
Okay so this is possible if you roll your own ansible playbook to install multiple components on a single server, e.g. proxy, mariadb, bench, docker, registry...
The agent setup <command>
are then used to setup multiple agent roles.
You also need to change the agent nginx.conf to support multiple roles and ensure these are triggered on jinja render:
It appears that the current agent deployment is designed to support a single server role (proxy, db, app, etc) but it seems the rest of the setup (ansible), directory structure, etc can cope with multiple roles on the same server.
It seems the hybrid / self-hosted server role already combines db + app servers (or at least used to).
As far as I can see this would just mean merging agent
config.json
changes instead of overwriting, and figuring out the correct agent/monitoring password for the servers in press?Or is there some other way to install a single server setup (proxy + db + app + registry + monitor + ...)?