feat(monitoring): add Laravel Nightwatch monitoring support

- Install laravel/nightwatch package for application monitoring
- Create Nightwatch console command to start the monitoring agent
- Add NIGHTWATCH_ENABLED and NIGHTWATCH_TOKEN environment variables
- Configure nightwatch settings in config/constants.php
- Set up Docker s6-overlay services for both development and production
- Disable Nightwatch by default in test environment
This commit is contained in:
Andras Bacsai
2026-03-23 15:36:47 +01:00
parent ae33447994
commit c09d7e412e
14 changed files with 157 additions and 2 deletions
@@ -0,0 +1,12 @@
#!/command/execlineb -P
# Use with-contenv to ensure environment variables are available
with-contenv
cd /var/www/html
foreground {
php
artisan
start:nightwatch
}
@@ -0,0 +1 @@
longrun