mirror of
https://yerbamate.ml/nutomic/peertube.social
synced 2024-11-24 23:48:21 -05:00
Make cache size variable
This commit is contained in:
parent
c2cce34964
commit
f52e912f53
@ -1,8 +1,8 @@
|
||||
[peertube]
|
||||
# define the username and hostname that you use for ssh connection, and specify the domain
|
||||
myuser@example.com domain=example.com
|
||||
myuser@example.com domain=example.com cache_size_gb=15
|
||||
# you can also use a host that is defined in your ssh config
|
||||
myserver domain=example.com
|
||||
myserver domain=example.com cache_size_gb=15
|
||||
|
||||
[all:vars]
|
||||
ansible_connection=ssh
|
||||
|
@ -36,7 +36,7 @@ services:
|
||||
restart: "always"
|
||||
|
||||
peertube:
|
||||
image: chocobozzz/peertube:v1.3.0-rc.1-stretch
|
||||
image: chocobozzz/peertube:v1.3.0-rc.2-stretch
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
|
@ -3,7 +3,7 @@ events {
|
||||
}
|
||||
|
||||
http {
|
||||
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=peertube_cache:10m max_size=15g use_temp_path=off;
|
||||
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=peertube_cache:10m max_size={{ cache_size_gb }}g use_temp_path=off;
|
||||
|
||||
server {
|
||||
listen 9000;
|
||||
|
Loading…
Reference in New Issue
Block a user