Overview
Directus is useful for headless CMS projects. Better-PaaS gives it a practical home on your own server with a one-click app workflow, domain routing, HTTPS, logs, and persistent storage habits.
Catalog image and ports
Better-PaaS deploys Directus from directus/directus:11 on container port 8055 with health checks against /.
- Image: directus/directus:11
- Port: 8055
- Volumes: /directus/database, /directus/uploads, /directus/extensions
- Key env vars: KEY, SECRET, ADMIN_EMAIL, ADMIN_PASSWORD, DB_CLIENT, DB_FILENAME
Why host Directus with Better-PaaS
Better-PaaS is designed for apps like Directus: small services that need reliable routing, a domain, persistent data, and quick redeploys without manually editing reverse proxy files.
Deployment checklist
Before going live, decide the domain, persistent volume, backup cadence, and any environment variables Directus needs. For Directus, pay special attention to data-backed content APIs and an admin studio.
- Choose the app catalog template or Docker image
- Add required environment variables
- Attach a persistent volume if data must survive redeploys
- Deploy and inspect logs
- Add a custom domain after the app is healthy
Operations after launch
Watch logs during the first deploy, confirm storage survives a redeploy, and include the app data in server backups. If the service exposes an admin area, use a strong password and restrict access where appropriate.
FAQ
Can Directus run with automatic HTTPS?
Yes. Add a domain in Better-PaaS after DNS points to the server and Caddy can issue a certificate.
Does Directus need persistent storage?
Most cms apps need some persistent storage or database plan. Treat app data and config as something to back up.