Exponential runs in containers with Docker or Podman. The kernel does not ship a Dockerfile or compose file of its own; build your image from a PHP base image with the extensions from System requirements and install with Composer.
What must persist
- var/ (stored images and files, caches and logs) and settings/override (your settings) belong on a persistent volume, never in the image.
- With SQLite, one container writes to the database file. Do not run several replicas on one SQLite file.
- Several replicas need a database server (PostgreSQL, MariaDB, MySQL, Oracle or MongoDB) and a shared var/storage, which is what clustering provides.
Serving
Inside a container, Velocity is a natural fit: one process serves static files and PHP, with no separate web server.