Supervisor for reverb
This enables the viewing tickets and more cool features on Ticaga.
Make sure you've edited the .env for Ticaga:
BROADCAST_CONNECTION=reverb
# Reverb Broadcasting Settings
REVERB_APP_ID=random_id
REVERB_APP_KEY=app_key_without_base64:
REVERB_APP_SECRET=random_string
# For Production (SSL/HTTPS):
# Use your domain name, port 443, and https scheme
REVERB_HOST=subdomain.domain.com
REVERB_PORT=443
REVERB_SCHEME=https
# For Local Development (no SSL):
# Use localhost, port 8000, and http scheme
# REVERB_HOST=localhost
# REVERB_PORT=8000
# REVERB_SCHEME=http
# Internal Reverb Server Settings (same for both local and production)
REVERB_SERVER_HOST=0.0.0.0
REVERB_SERVER_PORT=8080
# Vite Frontend Settings (automatically uses above values)
VITE_REVERB_APP_KEY="${REVERB_APP_KEY}"
VITE_REVERB_HOST="${REVERB_HOST}"
VITE_REVERB_PORT="${REVERB_PORT}"
VITE_REVERB_SCHEME="${REVERB_SCHEME}"
Eg: if your APP_KEY is: base64:nY8Lx+y559iZtKILQGgJA7T1dRTqYN9B/YmSF/qcJZQ= remove the base64:
# Reverb Broadcasting Settings
REVERB_APP_ID=23
REVERB_APP_KEY=nY8Lx+y559iZtKILQGgJA7T1dRTqYN9B/YmSF/qcJZQ=
REVERB_APP_SECRET=j897dehwdhnwed9hio23
# For Production (SSL/HTTPS):
# Use your domain name, port 443, and https scheme
REVERB_HOST=subdomain.domain.com
REVERB_PORT=443
REVERB_SCHEME=https
# For Local Development (no SSL):
# Use localhost, port 8000, and http scheme
# REVERB_HOST=localhost
# REVERB_PORT=8000
# REVERB_SCHEME=http
# Internal Reverb Server Settings (same for both local and production)
REVERB_SERVER_HOST=0.0.0.0
REVERB_SERVER_PORT=8080
# Vite Frontend Settings (automatically uses above values)
VITE_REVERB_APP_KEY="${REVERB_APP_KEY}"
VITE_REVERB_HOST="${REVERB_HOST}"
VITE_REVERB_PORT="${REVERB_PORT}"
VITE_REVERB_SCHEME="${REVERB_SCHEME}"
Install Supervisor:
sudo dnf install epel-release -y
sudo dnf install supervisor -y
Configure set-up for Reverb:
sudo nano /etc/supervisord.d/reverb.ini
Paste in the configuration:
[program:reverb]
command=/usr/bin/php /var/www/ticaga/artisan reverb:start --host=0.0.0.0 --port=8080
directory=/var/www/ticaga
user=apache
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/www/ticaga/storage/logs/reverb.log
stderr_logfile=/var/www/ticaga/storage/logs/reverb-error.log
stopwaitsecs=3600
Enable Supervisor:
sudo systemctl enable supervisord
sudo systemctl start supervisord
No comments to display
No comments to display