mirror of
https://github.com/linuxserver/docker-cops.git
synced 2026-04-06 00:00:04 +08:00
add cache configuration
This commit is contained in:
parent
6e689fb3e8
commit
14b2fbe000
@ -33,7 +33,10 @@
|
||||
*/
|
||||
|
||||
$config['cops_x_accel_redirect'] = "X-Accel-Redirect";
|
||||
|
||||
/* Enable cache folder
|
||||
* especially useful for lower power hosts
|
||||
*/
|
||||
$config['cops_thumbnail_cache_directory'] = "/cache";
|
||||
/*
|
||||
* Enable and configure Send To Kindle (or Email) feature.
|
||||
*
|
||||
|
||||
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# create folders
|
||||
mkdir -p \
|
||||
/cache
|
||||
|
||||
# make symlink
|
||||
[[ ! -e /var/www/localhost/cops ]] && \
|
||||
ln -s /usr/share/webapps/cops /var/www/localhost/cops
|
||||
@ -11,6 +15,7 @@ cp /config/config_local.php /var/www/localhost/cops/
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
/cache \
|
||||
/config \
|
||||
/usr/share/webapps/cops \
|
||||
var/www/localhost/cops
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user