Skip to content

Commit

Permalink
Add missing Docker syntax for prune-storage
Browse files Browse the repository at this point in the history
  • Loading branch information
HugeFrog24 authored and Chocobozzz committed Sep 23, 2024
1 parent 25639d0 commit d69dbe0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion support/doc/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -611,11 +611,20 @@ docker compose exec -u peertube peertube npm run create-generate-storyboard-job
Some transcoded videos or shutdown at a bad time can leave some unused files on your storage.
To delete these files (a confirmation will be demanded first):

```bash
::: code-group

```bash [Classic installation]
cd /var/www/peertube/peertube-latest
sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run prune-storage
```

```bash [Docker]
cd /var/www/peertube-docker
docker compose exec -u peertube peertube npm run prune-storage
```

:::

### Update PeerTube instance domain name

**Changing the hostname is unsupported and may be a risky operation, especially if you have already federated.**
Expand Down

0 comments on commit d69dbe0

Please sign in to comment.