1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00
This commit is contained in:
Éric Gaspar 2023-06-21 19:25:20 +02:00
parent 31bc3db263
commit c4b08919d0
3 changed files with 18 additions and 18 deletions

View file

@ -5,11 +5,11 @@ The domain https://__DOMAIN____PATH__ is free for other apps to be installed on
You should close the PeerTube Live TCP port __PORT_RTMP__ available from internet (For example, closing the port on your ISP box if it's not automatically done).
But a futher action is required from your side to completely remove the __APP__ data folder. If you have backup and plan to restore this app in the future DON'T RUN THIS COMMAND.
And if you are going to migrate to othe server you will have to move __DATA_DIR__ to your new server.
And if you are going to migrate to othe server you will have to move __DATA_DIR__storage/ to your new server.
You need to run this command to remove the data (warning all your videos will be removed):
rm -R __DATA_DIR__ -f
rm -R __DATA_DIR__storage/ -f
If you facing any problem or want to improve this app, please open a new issue here: https://github.com/YunoHost-Apps/peertube_ynh

View file

@ -154,7 +154,7 @@ location ~ ^/static/(thumbnails|avatars)/ {
rewrite ^/static/(.*)$ /$1 break;
root __DATA_DIR__;
root __DATA_DIR__storage/;
try_files $uri @api;
}
@ -216,7 +216,7 @@ location ~ ^/static/(webseed|redundancy|streaming-playlists)/ {
rewrite ^/static/webseed/(.*)$ /videos/$1 break;
rewrite ^/static/(.*)$ /$1 break;
root __DATA_DIR__;
root __DATA_DIR__storage/;
try_files $uri @api;
}

View file

@ -113,20 +113,20 @@ defaults:
# From the project root directory
storage:
tmp: '__DATA_DIR__/tmp/' # Use to download data (imports etc), store uploaded files before processing...
bin: '__DATA_DIR__/bin/'
avatars: '__DATA_DIR__/avatars/'
videos: '__DATA_DIR__/videos/'
streaming_playlists: '__DATA_DIR__/streaming-playlists/'
redundancy: '__DATA_DIR__/redundancy/'
tmp: '__DATA_DIR__/storage/tmp/' # Use to download data (imports etc), store uploaded files before processing...
bin: '__DATA_DIR__/storage/bin/'
avatars: '__DATA_DIR__/storage/avatars/'
videos: '__DATA_DIR__/storage/videos/'
streaming_playlists: '__DATA_DIR__/storage/streaming-playlists/'
redundancy: '__DATA_DIR__/storage/redundancy/'
logs: '/var/log/__APP__/'
previews: '__DATA_DIR__/previews/'
thumbnails: '__DATA_DIR__/thumbnails/'
torrents: '__DATA_DIR__/torrents/'
captions: '__DATA_DIR__/captions/'
cache: '__DATA_DIR__/cache/'
plugins: '__DATA_DIR__/plugins/'
well_known: '__DATA_DIR__/well-known/'
previews: '__DATA_DIR__/storage/previews/'
thumbnails: '__DATA_DIR__/storage/thumbnails/'
torrents: '__DATA_DIR__/storage/torrents/'
captions: '__DATA_DIR__/storage/captions/'
cache: '__DATA_DIR__/storage/cache/'
plugins: '__DATA_DIR__/storage/plugins/'
well_known: '__DATA_DIR__/storage/well-known/'
# Overridable client files in client/dist/assets/images:
# - logo.svg
# - favicon.png
@ -137,7 +137,7 @@ storage:
# Could contain for example assets/images/favicon.png
# If the file exists, peertube will serve it
# If not, peertube will fallback to the default file
client_overrides: '__DATA_DIR__/client-overrides/'
client_overrides: '__DATA_DIR__/storage/client-overrides/'
static_files:
# Require and check user authentication when accessing private files (internal/private video files)