mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-10 15:01:05 +01:00
Updated Peertube configuration
This commit is contained in:
parent
a37fc009d6
commit
4b1f201e62
@ -1,4 +1,33 @@
|
|||||||
# docker peertube
|
# 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
|
## further information
|
||||||
- https://docs.joinpeertube.org/install-docker
|
- https://docs.joinpeertube.org/install-docker
|
||||||
|
- https://github.com/Chocobozzz/PeerTube/issues/3091
|
@ -28,6 +28,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- redis:/data
|
- redis:/data
|
||||||
restart: "always"
|
restart: "always"
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
assets:
|
assets:
|
||||||
database:
|
database:
|
||||||
|
@ -11,8 +11,6 @@ PEERTUBE_DB_HOSTNAME=database
|
|||||||
PEERTUBE_WEBSERVER_HOSTNAME={{domain}}
|
PEERTUBE_WEBSERVER_HOSTNAME={{domain}}
|
||||||
PEERTUBE_WEBSERVER_PORT=9000
|
PEERTUBE_WEBSERVER_PORT=9000
|
||||||
PEERTUBE_WEBSERVER_HTTPS=false
|
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"]
|
PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback"]
|
||||||
|
|
||||||
# E-mail configuration
|
# E-mail configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user