Updated Peertube configuration

This commit is contained in:
Kevin Veen-Birkenbach 2022-11-21 12:01:25 +01:00
parent a37fc009d6
commit 4b1f201e62
3 changed files with 32 additions and 3 deletions

View File

@ -1,4 +1,33 @@
# docker peertube
## track docker volumes
```bash
watch -n 2 "docker ps -a | grep peertube"
```
## clean rebuild
```bash
cd /home/administrator/docker-compose/peertube/ &&
docker-compose down
docker volume rm peertube_assets peertube_config peertube_data peertube_database peertube_redis
docker-compose up -d
```
## access terminal
```bash
docker exec -it peertube-application-1 /bin/bash
```
## update config
```bash
apt update && apt install nano && nano ./config/default.yaml
```
## get root pasword
```bash
docker logs peertube-application-1 | grep -A1 root
```
## further information
- https://docs.joinpeertube.org/install-docker
- https://github.com/Chocobozzz/PeerTube/issues/3091

View File

@ -28,6 +28,8 @@ services:
volumes:
- redis:/data
restart: "always"
env_file:
- .env
volumes:
assets:
database:

View File

@ -11,8 +11,6 @@ PEERTUBE_DB_HOSTNAME=database
PEERTUBE_WEBSERVER_HOSTNAME={{domain}}
PEERTUBE_WEBSERVER_PORT=9000
PEERTUBE_WEBSERVER_HTTPS=false
# If you need more than one IP as trust_proxy
# pass them as a comma separated array:
PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback"]
# E-mail configuration