Skip to content

First run

After the container starts for the first time, you need to run database migrations (if you have not already done so via the entrypoint) and create the first user account so you can log in to the panel.

Set RUN_MIGRATIONS=true (the default) when starting the container. The entrypoint runs php artisan migrate --force automatically after the database becomes reachable, before Octane starts.

Terminal window
docker run ... -e RUN_MIGRATIONS=true noixdev/inventorix:latest

You will see migration output in the container logs:

Waiting for database at db:3306...
Database is up.
...
Running migrations.

If RUN_MIGRATIONS is false, run migrations manually with docker exec:

Terminal window
docker exec -it <container_name> php artisan migrate --force

Or, outside Docker, from the application root:

Terminal window
php artisan migrate --force

Inventorix does not ship a make:filament-user command (the generic Filament installer). The first user is created by running the database seeder.

Run the seeder:

Terminal window
docker exec -it <container_name> php artisan db:seed

This creates a user with the following credentials:

FieldValue
Emailhello@noix.dev
PasswordStart23!
Namenoix
Panel accessenabled (login_enabled = true)

After logging in, go to Settings → General Settings to update the application name and other defaults, then navigate to the Users resource to create your own user account and disable or delete the seed user.

  1. Open your browser at http://<host>:8000 (or your configured APP_URL).
  2. Log in with the seeded credentials above.
  3. You will land on the panel dashboard, which shows asset stats and warranty widgets.

The Octane server that the entrypoint starts handles HTTP requests, but queued jobs (such as CSV import processing and warranty digest emails) require a running Horizon process.

Start Horizon in a second container with the same image:

Terminal window
docker run -d \
--env-file .env.production \
--name inventorix-horizon \
noixdev/inventorix:latest \
php artisan horizon

Confirm Horizon is running by visiting /horizon on your app container. You should see the Horizon dashboard with a green “Running” status.

After first login and Horizon startup, confirm everything is working:

  1. Create a Manufacturer, an Asset Type, and an Asset Model under their respective resources.
  2. Create a test Asset and verify it appears in the asset list.
  3. Navigate to QR Code Generator and generate a QR code for the test asset.
  4. Navigate to Evaluation and open any report to confirm PDF rendering works.
  5. Check /horizon and confirm the queue worker shows “Running”.