Deployment
Production build
Section titled “Production build”npm run buildnpm startThe production API serves the React application from apps/web/dist.
Standalone Docker
Section titled “Standalone Docker”cp .env.example .envdocker compose up -d --buildThe full application is exposed on 4030, with SQLite persisted in the super-es-manager-data volume.
Path-prefix deployment
Section titled “Path-prefix deployment”The same image can run below /es-manager/ or any nested prefix:
docker compose -f docker-compose.yml -f docker-compose.subpath.yml up -d --buildThe reverse proxy must:
- Strip the external prefix before forwarding.
- Overwrite rather than append client-supplied
X-Forwarded-Prefix. - Keep the trailing slash on
proxy_pass. - Scope cookies with
proxy_cookie_path. - Avoid a fixed
VITE_PUBLIC_BASE.
Persistence
Section titled “Persistence”Use SQLite for local deployments or PostgreSQL, MySQL, or MariaDB for shared production environments. Back up and monitor both the database and transfer storage.