nself start
هذا المحتوى غير متوفر بلغتك بعد.
nself start
Section titled “nself start”Boot the ɳSelf stack with health checks and automatic database initialization.
Synopsis
Section titled “Synopsis”nself start [flags]nself up [flags]Alias: up
Description
Section titled “Description”nself start brings up the entire ɳSelf stack in the correct order: PostgreSQL first, then automatic database initialization (schemas, extensions, permissions), then Hasura, Auth, Nginx, optional services, monitoring, and custom services. Each service is health-checked before the next group starts.
Before launching containers, nself start validates that docker-compose.yml exists (run �P1� build first), the Docker daemon is running, and all required ports are available. A pre-flight port check scans for conflicts on ports 80, 443, 5432, 8080, 4000, 6379, and 9000 and reports the conflicting process name if a port is in use.
Database initialization is automatic and idempotent, ɳSelf creates the database, schemas (auth, storage, public), and extensions (pgcrypto, citext, uuid-ossp) if they do not already exist. After all services are healthy, the console prints all service URLs.
| Flag | Default | Description |
|---|---|---|
--fresh | false | Force recreate all containers |
--force-recreate | false | Alias for --fresh |
--clean-start | false | Remove all containers before starting |
--skip-build | false | Skip automatic rebuild detection |
--skip-health-checks | false | Skip health validation after startup |
--skip-port-check | false | Skip port availability check |
--quick | false | Quick start (timeout=30s, required=60%) |
--timeout | 120 | Health check timeout in seconds (range: 30–600) |
--no-monorepo | false | Disable automatic monorepo backend detection |
--debug, -d | false | Show debug information |
--verbose, -v | false | Show detailed Docker output |
--help, -h | none | Show help |
Examples
Section titled “Examples”# Standard bootnself start
# Using the aliasnself up
# Force container recreation (useful after config changes)nself start --fresh
# Remove existing containers before starting freshnself start --clean-start
# Fast mode for CI, lower timeout, 60% health thresholdnself start --quick
# Skip health checks (not recommended for production)nself start --skip-health-checks
# Custom health check timeoutnself start --timeout 300
# Verbose output to debug startup issuesnself start -vAliases
Section titled “Aliases”nself up is a hidden alias for �P1� start. Same flags. Same behavior. Provided so docker-compose users can keep their muscle memory.