nself service
هذا المحتوى غير متوفر بلغتك بعد.
nself service
Section titled “nself service”Enable, disable, and list optional ɳSelf services.
Synopsis
Section titled “Synopsis”nself service <subcommand> [flags]Description
Section titled “Description”nself service manages the optional services in your ɳSelf stack. The four core services (PostgreSQL, Hasura, Auth, Nginx) are always included. Everything else: Redis, MinIO, Mailpit, Functions, MeiliSearch, Monitoring, and Admin, is optional and controlled through this command. MLflow is available as a free plugin (nself plugin install mlflow) rather than a built-in service.
Enabling or disabling a service writes to your .env file. After changing service state, run nself build to regenerate docker-compose.yml with the updated service set, then �P1� restart to apply the changes.
Subcommands
Section titled “Subcommands”| Subcommand | Description |
|---|---|
enable <name> | Enable an optional service |
disable <name> | Disable an optional service |
list | List all optional services with enabled/disabled status |
Available Services
Section titled “Available Services”| Service | Env Var | Aliases |
|---|---|---|
redis | REDIS_ENABLED | none |
minio | MINIO_ENABLED | storage |
mailpit | MAILPIT_ENABLED | email |
functions | FUNCTIONS_ENABLED | none |
search | SEARCH_ENABLED | meilisearch |
monitoring | MONITORING_ENABLED | none |
admin | nself | none |
| Flag | Default | Description |
|---|---|---|
--env | current | Target environment file |
--json | false | Output as JSON array (for list) |
--help, -h | none | Show help |
Examples
Section titled “Examples”# List all optional servicesnself service listnself service list --json
# Enable Redisnself service enable redis
# Enable MinIO object storage (using alias)nself service enable storage
# Enable monitoring stacknself service enable monitoring
# Enable monitoring for production environmentnself service enable monitoring --env prod
# Disable Mailpitnself service disable mailpit
# Disable MeiliSearch (using alias)nself service disable meilisearch
# After changing services, rebuild and restartnself build && nself restart