Appearance
Run Foliwake for a team
One Foliwake instance in Docker serves a team: the dashboard, the CLI's API, every site live and in preview, website history, the Drupal editor integration and, if you want, a Varnish cache. This page lists what you run around it, and the routine.
What the package runs
foliwake docker install starts one container (and, if you choose them, Jaeger and Varnish beside it). Everything it keeps is in its data volume. See install with Docker.
| Host | Served by |
|---|---|
foliwake.example.com | Dashboard, CLI sign-in and API |
<site>.live.example.com and your sites' own domains | Live sites (through the instance's Varnish with --cache varnish) |
<site>.preview.example.com, <branch>--<site>--<org>.preview.example.com | Previews, for signed-in members |
r-<release>--<site>.history.example.com | Earlier versions, for signed-in admins |
review.example.com | Drupal editor integration, when /data/foliwake.connections.json exists |
What stays outside the package
- The HTTPS proxy. Certificates for the hosts above, with wildcard DNS (
*.live,*.preview,*.history) and wildcard certificates (Caddy with its DNS plugin, for example). It passes every path through and keeps theAuthorizationheader. With Varnish, the live hosts go to the cache port and the rest to the server port (a Varnish of the instance). Extra protection such as a Basic login for a demo is yours to add here; previews already need a signed-in member. - The CMS. Drupal, its database and cron run in their own Compose project or host. The container must reach Drupal's address (not
127.0.0.1from inside the container): put them on a shared Docker network or use the host's address, and allow a private address in the connection'sfreshness.allowPrivateHosts. - Object storage. An S3 or R2 bucket, if you use one instead of the volume, and its backups.
- These docs. The documentation site is built and hosted separately.
The routine
| When | What |
|---|---|
| New engine version | foliwake docker update: backup, switch, cached HTML dropped. The rollback command is printed. |
| Before risky work | foliwake docker backup (the archive holds secrets: keep it private). |
| A new frontend repository | foliwake site create <id> --repository https://github.com/…, a CI key (account keys create), a read token as <SITE>__CODE_TOKEN; the repository's workflow runs code deploy. See release code from CI. |
| A new member | foliwake account invite. |
| A key leaked | foliwake account keys revoke <id>; a token of a source: foliwake credential set with a new value. |
| A Drupal connection changed | Edit /data/foliwake.connections.json, then foliwake docker restart. |
See current limitations before you plan around a feature.
