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. Validate required files and variables without printing secrets
docker compose config --quiet

# 2. Pull container images
docker compose pull

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

# 4. Verify all 10 containers are running
docker compose ps

# 5. Run migrations, core seeders, and create the initial admin from INITIAL_ADMIN_*
docker compose exec api php artisan migrate --seed --force

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

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

Health Check

Verify that the API backend is responsive:

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