The nself service command manages which optional nSelf services are enabled in a project. Optional services (MinIO, Redis, Functions, MLflow, Mail, Search) are enabled/disabled here — they appear in the generateddocker-compose.yml after you run nself build.
Source of truth: SPORT F02-COMMAND-INVENTORY.md.
list · enable · disableSubcommands email, search, functions,mlflow, storage, cache, andmetrics do not exist as nself service subcommands in v1.0.x. Individual service configuration is done via .env variables.
nself service <subcommand> [args]| Command | Description |
|---|---|
list | List all optional services and their enabled/disabled status |
enable <name> | Enable an optional service |
disable <name> | Disable an optional service |
List all optional services with their current enabled/disabled status.
nself service list
# Example output:
# OPTIONAL SERVICES
# [x] storage MinIO S3-compatible object storage
# [x] redis Caching, sessions, queues
# [ ] functions Serverless runtime
# [ ] mlflow ML experiment tracking
# [x] mail Email service
# [x] search Full-text search (MeiliSearch)Enable an optional service. Run nself build && nself start after enabling.
nself service enable storage # Enable MinIO
nself service enable redis # Enable Redis
nself service enable functions # Enable serverless runtime
nself service enable mlflow # Enable ML tracking
nself service enable mail # Enable email service
nself service enable search # Enable MeiliSearch
# After enabling, regenerate and restart:
nself build
nself startDisable an optional service. The service will be removed from the next nself build output.
nself service disable storage
nself service disable redis
# After disabling:
nself build
nself restart| Service | What it provides | Default |
|---|---|---|
storage | MinIO — S3-compatible object storage | disabled |
redis | Redis — caching, sessions, queues | disabled |
functions | Serverless runtime | disabled |
mlflow | ML experiment tracking | disabled |
mail | Email service (16+ providers) | disabled |
search | Full-text search (MeiliSearch) | disabled |
Required services (PostgreSQL, Hasura, Auth, Nginx) are always enabled and cannot be disabled. Optional service configuration (URLs, credentials, provider-specific settings) is done via .env variables — see the Configuration Reference.