Skip to content

SjorsO/watchtower

Repository files navigation

Watchtower

Watchtower is monitoring software for Laravel and your VPS.

Watchtower will send you an alert:

  • If your Laravel application has new logs
  • If any of your Supervisor processes (queue workers) are not running
  • If your server is running out of disk space (coming soon)
  • If your server is offline (coming soon)

No AI or enterprise complexity, just an alert when things go wrong.

Learn more

Visit https://watchtower.dev/about to learn more about Watchtower or watch a YouTube video:

Learn more about Watchtower on YouTube

Explore the code

Here are good places to start if you'd like to explore the code:

Self-hosting

Watchtower is a typical Laravel application. Host it as you would any other Laravel application (using Laravel Forge, for example).

Requirements:

  • PHP 8.4
  • MySQL (might also work with another database driver)
  • Redis (optional, but recommended)
  • Email credentials (using the smtp driver in your .env file)
  • A cron job
  • A queue worker (artisan queue:work --queue=default)

Once you have that set up, run:

  • php artisan watchtower:prepare-client (also run this command after each deployment)
  • php artisan watchtower:invite-user (this also tests your SMTP credentials)

License

Watchtower is open-sourced software licensed under the MIT license.

About

Application and server monitoring for Laravel and your VPS

Topics

Resources

Stars

Watchers

Forks

Contributors