Список команд установки PeerTube в Docker
cd peertube
curl https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/docker-compose.yml > docker-compose.yml
curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/master/support/docker/production/.env > .env
mc
mkdir -p docker-volume/nginx
curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/master/support/nginx/peertube > docker-volume/nginx/peertube
mkdir -p docker-volume/certbot
docker run -it --rm --name certbot -p 80:80 -v "$(pwd)/docker-volume/certbot/conf:/etc/letsencrypt" certbot/certbot certonly --standalone
docker compose up
docker network ls
docker network inspect bridge
docker stop $(docker ps -a -q)
docker ps -a
docker network prune -f
docker compose up
docker network prune
docker network rm $(docker network ls -q | grep -v "bridge\|host\|none")
docker compose up
docker stop $(docker ps -aq)
docker rm -f $(docker ps -a -q)
docker rmi $(docker images -q)
docker network prune -f
docker volume prune -f
docker builder prune -a -f
docker system prune -a -f --volumes
docker compose up
docker compose up -d
docker ps
history
No Comments