Userverse ships with aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/SoftwareVerse/userverse/llms.txt
Use this file to discover all available pages before exploring further.
Dockerfile that packages the application using uv for dependency management. The image exposes port 8500 and expects a JSON config file to be mounted or baked in at startup.
You must have a running PostgreSQL database before starting the container. See the database setup page for instructions.
Dockerfile
The repository’sDockerfile is reproduced below for reference:
CMD passes --json_config_path /code/sample-config.json directly to the application entry point. You can override this at runtime by supplying your own config file path (see running the container below).
Build, configure, and run
Prepare your config file
Copy Your config file must include a
sample-config.json and edit it with your production values — database credentials, JWT secret, SMTP settings, and allowed CORS origins. See the configuration reference for all available fields.database block so Userverse can reach PostgreSQL:Environment variables
| Variable | Required | Description |
|---|---|---|
JSON_CONFIG_PATH | Yes (production) | Absolute path to your JSON configuration file inside the container. |
DATABASE_URL | No | SQLAlchemy-compatible database URL. Used by DatabaseSessionManager as a fallback when no database block is present in the config file (e.g., postgresql://user:pass@host:5432/dbname). |
ENV | No | Runtime environment name passed to the server. Set to production in the CMD. |
Related pages
Database setup
Create your PostgreSQL database and run Alembic migrations.
Configuration
Full reference for every field in the JSON config file.