mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			579 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			579 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # Administration 
 | |
| 
 | |
| ## track docker container status
 | |
| ```bash
 | |
| watch -n 2 "docker ps  -a | grep peertube"
 | |
| ```
 | |
| 
 | |
| ## clean rebuild
 | |
| ```bash
 | |
| cd {{ PATH_DOCKER_COMPOSE_INSTANCES }}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-compose exec -it application /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
 | |
| ``` |