Browse Source

Added cache hint

master
Shyim 6 years ago
parent
commit
37f9d7dad8
  1. 18
      README.md
  2. 1
      src/Command/SetupCommand.php

18
README.md

@ -16,14 +16,18 @@ ReCast is a multi platform streaming tool written in PHP and uses nginx RTMP. Yo
* Environment variable ``APP_HOST`` should point to a http server, nginx rtmp does not support https. * Environment variable ``APP_HOST`` should point to a http server, nginx rtmp does not support https.
### Environment variable overview ### Environment variable overview
| Name | Description | Example | | Name | Description | Example |
|-----------------------|-------------------------------------------------------------------|--------------------------------------------------| |---------------------------|-------------------------------------------------------------------|--------------------------------------------------|
| APP_HOST | URL which is used in nginx rtmp conf, This address must be http | http://try.recast.in | | APP_HOST | URL which is used in nginx rtmp conf, This address must be http | http://try.recast.in |
| APP_ENV | Which environment it runs | prod | | APP_ENV | Which environment it runs | prod |
| DATABASE_URL | Database credentials as URL | DATABASE_URL=mysql://USER:PASS@HOST:3306/DB_NAME |
| NGINX_CONFIG_DIR | Folder where nginx.conf is located | /opt/nginx-rtmp/conf/ |
| NGINX_RELOAD_COMMAND | Reload command for nginx rtmp | systemctl reload nginx-rtmp |
| APP_REGISTRATION_ENABLED | Toggles registration form | true | | APP_REGISTRATION_ENABLED | Toggles registration form | true |
| DATABASE_URL | Database credentials as URL | DATABASE_URL=mysql://USER:PASS@HOST:3306/DB_NAME |
| NGINX_CONFIG_DIR | Folder where nginx.conf is located | /opt/nginx-rtmp/conf/ |
| NGINX_RELOAD_COMMAND | Reload command for nginx rtmp | systemctl reload nginx-rtmp |
## Free hosted version
We have also on https://app.recast.in a free to use ReCast setup.
**Docker Setup will be following** **Docker Setup will be following**

1
src/Command/SetupCommand.php

@ -85,6 +85,7 @@ class SetupCommand extends Command
file_put_contents($envs['JWT_PUBLIC_KEY_PATH'], $pubKey); file_put_contents($envs['JWT_PUBLIC_KEY_PATH'], $pubKey);
$io->success('JWT Tokens generated'); $io->success('JWT Tokens generated');
$io->warning('Please clear cache using command cache:clear');
} }
/** /**

Loading…
Cancel
Save