2022-11-17 14:47:25 +01:00
|
|
|
# docker peertube
|
|
|
|
|
2022-11-21 12:18:28 +01:00
|
|
|
## track docker container status
|
2022-11-21 12:01:25 +01:00
|
|
|
```bash
|
|
|
|
watch -n 2 "docker ps -a | grep peertube"
|
|
|
|
```
|
|
|
|
|
|
|
|
## clean rebuild
|
|
|
|
```bash
|
2023-12-07 16:56:43 +01:00
|
|
|
cd {{path_docker_compose_instances}}peertube/ &&
|
2023-04-19 00:03:13 +02:00
|
|
|
docker-compose down
|
2022-11-21 12:01:25 +01:00
|
|
|
docker volume rm peertube_assets peertube_config peertube_data peertube_database peertube_redis
|
2023-04-19 00:03:13 +02:00
|
|
|
docker-compose up -d
|
2022-11-21 12:01:25 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## access terminal
|
|
|
|
```bash
|
2023-11-25 14:10:29 +01:00
|
|
|
docker-compose exec -it application /bin/bash
|
2022-11-21 12:01:25 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## update config
|
|
|
|
```bash
|
|
|
|
apt update && apt install nano && nano ./config/default.yaml
|
|
|
|
```
|
|
|
|
|
|
|
|
## get root pasword
|
|
|
|
```bash
|
|
|
|
docker logs peertube-application-1 | grep -A1 root
|
|
|
|
```
|
|
|
|
|
2024-07-10 19:56:53 +02:00
|
|
|
## upgrade version
|
|
|
|
- https://docs.joinpeertube.org/install/docker
|
|
|
|
|
2022-11-17 14:47:25 +01:00
|
|
|
## further information
|
2022-11-21 12:01:25 +01:00
|
|
|
- https://docs.joinpeertube.org/install-docker
|
|
|
|
- https://github.com/Chocobozzz/PeerTube/issues/3091
|