Browse Source

Added cache hint

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

8
README.md

@ -17,13 +17,17 @@ ReCast is a multi platform streaming tool written in PHP and uses nginx RTMP. Yo
### 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 |
| APP_REGISTRATION_ENABLED | Toggles registration form | true |
| DATABASE_URL | Database credentials as URL | DATABASE_URL=mysql://USER:PASS@HOST:3306/DB_NAME | | 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_CONFIG_DIR | Folder where nginx.conf is located | /opt/nginx-rtmp/conf/ |
| NGINX_RELOAD_COMMAND | Reload command for nginx rtmp | systemctl reload nginx-rtmp | | NGINX_RELOAD_COMMAND | Reload command for nginx rtmp | systemctl reload nginx-rtmp |
| APP_REGISTRATION_ENABLED | Toggles registration form | true |
## 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