Use non read-only path

This commit is contained in:
decentral1se 2021-05-07 00:15:43 +02:00
parent 04b7af2d00
commit 82b33279d2
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
2 changed files with 222 additions and 214 deletions

View File

@ -22,7 +22,7 @@ services:
- nginx-cache:/var/cache/nginx/peertube-media-cache:rw
configs:
- source: nginx_config
target: /etc/nginx/conf.d/default.conf
target: /etc/nginx/nginx.conf
deploy:
restart_policy:
condition: on-failure

View File

@ -1,3 +1,10 @@
user www-data;
events {
worker_connections 768;
}
http {
upstream backend {
server app:9000;
}
@ -240,3 +247,4 @@ server {
{{ end }}
}
}
}