mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-09 22:41:03 +01:00
Updated Peertube configuration
This commit is contained in:
parent
da7be49aad
commit
829525dec1
@ -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
|
@ -28,6 +28,8 @@ services:
|
||||
volumes:
|
||||
- redis:/data
|
||||
restart: "always"
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
assets:
|
||||
database:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user