Skip to content

Service Inventory

Authoritative list of every backend service managed by the ɳSelf CLI. Generated from SPORT F08 (.claude/docs/sport/F08-SERVICE-INVENTORY.md) which audits cli/internal/config/defaults.go.

These services are always provisioned by nself start. Disabling any of them is not supported.

#ServiceTypeDefault Internal PortImage
1PostgreSQLrequired5432postgres:<version> (default 16)
2Hasura GraphQLrequired8080hasura/graphql-engine:<version>
3Auth (nHost)required4000nhost/hasura-auth:<version>
4Nginxrequired80 (HTTP) / 443 (SSL)nginx:<version>

These services run when explicitly enabled in the user’s .env file. Default state is opt-in.

#ServiceDefault Internal PortEnable Flag
1nself-admin3021ADMIN_ENABLED=true
2MinIO9000 (S3 API), 9001 (Console)MINIO_ENABLED=true
3Redis6379REDIS_ENABLED=true
4Functions3008FUNCTIONS_ENABLED=true
5Mail (Mailpit dev)1025 (SMTP), 8025 (UI)MAIL_ENABLED=true
6Search (MeiliSearch)7700SEARCH_ENABLED=true

MLflow was reclassified from optional service to free plugin in v1.1.0. Install with nself plugin install mlflow.

The monitoring bundle is a single composite plugin (plugins/free/monitoring/) that ships 10 services:

  • alertmanager
  • glitchtip
  • grafana
  • loki (port 3100)
  • otel-collector
  • prometheus
  • promtail
  • status
  • synthetics
  • web-vitals

Install:

Terminal window
nself plugin install monitoring

Custom Services (CS_1..CS_10): User-Defined

Section titled “Custom Services (CS_1..CS_10): User-Defined”

The CLI provides 10 custom service slots for user-defined services from 40+ language templates.

SlotConventionExample
CS_1Lowest-numbered slot, often the primary custom serviceweb/ repo uses CS_1 = ping_api (port 8001)
CS_2 .. CS_10Additional slotsUser-defined

Configuration via .env:

CS_1_NAME=ping_api
CS_1_LANGUAGE=go
CS_1_PORT=8001
CS_1_DOMAIN=ping.nself.org

All internal services bind to 127.0.0.1. External access via Nginx only.

  • SPORT: .claude/docs/sport/F08-SERVICE-INVENTORY.md
  • CLI source: cli/internal/config/defaults.go
  • Cross-reference: .claude/docs/sport/F05-PLUGIN-INVENTORY-MONITORING.md for monitoring bundle details