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.
Running migrations
Section titled “Running migrations”Via the Docker entrypoint (recommended)
Section titled “Via the Docker entrypoint (recommended)”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.
docker run ... -e RUN_MIGRATIONS=true noixdev/inventorix:latestYou will see migration output in the container logs:
Waiting for database at db:3306...Database is up....Running migrations.Manual migration
Section titled “Manual migration”If RUN_MIGRATIONS is false, run migrations manually with docker exec:
docker exec -it <container_name> php artisan migrate --forceOr, outside Docker, from the application root:
php artisan migrate --forceCreating the first admin user
Section titled “Creating the first admin user”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:
docker exec -it <container_name> php artisan db:seedThis creates a user with the following credentials:
| Field | Value |
|---|---|
hello@noix.dev | |
| Password | Start23! |
| Name | noix |
| Panel access | enabled (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.
First login
Section titled “First login”- Open your browser at
http://<host>:8000(or your configuredAPP_URL). - Log in with the seeded credentials above.
- You will land on the panel dashboard, which shows asset stats and warranty widgets.
Queue worker (Horizon)
Section titled “Queue worker (Horizon)”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:
docker run -d \ --env-file .env.production \ --name inventorix-horizon \ noixdev/inventorix:latest \ php artisan horizonConfirm Horizon is running by visiting /horizon on your app container. You should see the Horizon dashboard with a green “Running” status.
Verify the installation
Section titled “Verify the installation”After first login and Horizon startup, confirm everything is working:
- Create a Manufacturer, an Asset Type, and an Asset Model under their respective resources.
- Create a test Asset and verify it appears in the asset list.
- Navigate to QR Code Generator and generate a QR code for the test asset.
- Navigate to Evaluation and open any report to confirm PDF rendering works.
- Check
/horizonand confirm the queue worker shows “Running”.