Add a versioned web-node deployment manifest

Export the account ID and domain from a completed preview.
Render matching Apache and PHP-FPM configuration on the web node.
This commit is contained in:
parkel committed 2026-11-19 21:44:15 +01:00
1 parent a12d428023
commit aea049087d
15 files changed
+239 -44

No files matched your search

+19
View File
@@ -48,6 +48,25 @@ to RabbitMQ. After a broker outage, queued requests resume when the worker and
scheduler reconnect. Plans that remain incomplete five minutes after dispatch
are eligible for delivery again.
## Render configuration on a web node
Open a completed preview for the account's current domain and select **Download
deployment manifest**. The versioned JSON file contains the account ID and
primary domain. The web node command validates those values and derives the
system user, document root, and PHP-FPM socket from the account ID.
Install the panel package on the node at the same revision as the panel that
created the manifest. The command renders configuration to standard output.
Run it as a regular user in a directory for reviewing the generated files.
```sh
coulobre-web-node render coulobre-web-plan-1.json apache > apache.conf
coulobre-web-node render coulobre-web-plan-1.json php-fpm > php-fpm.conf
```
The command reads the manifest and packaged templates locally. The isolated
Ubuntu check below demonstrates loading the configuration.
## Run an isolated PHP test site
Open a completed preview for the account's current domain and select **Download