Skip to main content

Launch & Initialization

Launch & Initialization

Once configuration files are in place, spin up the stack and initialize the database.

Step-by-Step Launch

# 1. Pull container images
docker compose pull

# 2. Start the full stack
docker compose up -d

# 3. Verify all 9 containers are running
docker compose ps

# 4. Run database migrations and seed core data
docker compose exec api php artisan migrate --seed --force

# 5. Sync full-text search settings
docker compose exec api php artisan scout:sync-index-settings

# 6. Optimize config cache
docker compose exec api php artisan optimize

# 7. Create your main admin user
docker compose exec api php artisan nusaas:create-admin

Health Check

Verify that the API backend is responsive:

curl http://localhost:4000/api/health