mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-13 03:45:26 +01:00
Merge pull request #865 from n0mer/patch-1
doc update - how to install Predis dependency
This commit is contained in:
commit
11cf7ef2c8
@ -112,6 +112,14 @@ Run Cachet:
|
||||
$ docker run -d --name cachet --link mysql:mysql -p 80:8000 -e DB_HOST=mysql -e DB_DATABASE=$DB_DATABASE -e DB_USERNAME=$DB_USERNAME -e DB_PASSWORD=$DB_PASSWORD cachethq/cachet:latest
|
||||
```
|
||||
|
||||
Install Redis client library for PHP (optional step)
|
||||
|
||||
If you set `CACHE_DRIVER`, `SESSION_DRIVER` or `QUEUE_DRIVER` to `redis`:
|
||||
|
||||
```bash
|
||||
$ docker exec -i cachet php composer.phar require predis/predis
|
||||
```
|
||||
|
||||
Now go to `http://<ipdockerisboundto>/setup` and have fun!
|
||||
|
||||
Note: When running in production you should ensure that you enable SSL.
|
||||
|
Loading…
x
Reference in New Issue
Block a user