tiny vps - nself-org/cli GitHub Wiki
Running ɳSelf on a server with less than 1 GB of RAM requires the tiny profile. The tiny profile starts Postgres and nginx only. Hasura and Auth are opt-in.
| RAM | Recommendation |
|---|---|
| < 512 MB | Tiny profile required |
| 512 MB – 1 GB | Tiny profile recommended |
| 1 GB + | Standard profile works |
ɳSelf detects available RAM at init time and prints a warning when it is below 512 MB.
nself init --profile=tiny --accept-defaults
nself build
nself startThis generates a .env.dev with only Postgres and nginx enabled.
| Service | Status |
|---|---|
| Postgres | Enabled |
| Nginx | Enabled |
| Hasura | Disabled (opt-in) |
| Auth | Disabled (requires Hasura) |
| Redis | Disabled |
| MinIO | Disabled |
| Functions | Disabled |
| Monitoring | Disabled |
| Plugins | Disabled (enable per-plugin after adding RAM) |
Once you upgrade to a server with 1 GB+ RAM:
- Edit
.env.devand set:
ENABLE_HASURA=true
HASURA_GRAPHQL_ADMIN_SECRET=your_secret_here
HASURA_JWT_KEY=your_jwt_key_here- Rebuild and restart:
nself build
nself start- No GraphQL API (Hasura disabled). You can query Postgres directly via raw SQL.
- No authentication service. Build your own auth layer or enable Hasura Auth later.
- No plugin support. Plugins require at least Hasura for schema management.
When you upgrade your VPS:
- Increase RAM to at least 1 GB.
- Re-run init with the standard profile:
nself init --profile=standard --force
nself build
nself start