docker-compose-configs/invidious/restart-all-backends.sh

6 lines
620 B
Bash
Executable file

#!/bin/bash
docker compose --file /home/services/invidious/invidious/docker-compose.yml up -d --force-recreate invidious --remove-orphans
docker compose --file /home/services/invidious/invidious-vpn/docker-compose.yml up -d --force-recreate invidious invidious-2 invidious-3 invidious-4 ptgen --remove-orphans
docker compose --file /home/services/invidious/invidious-vpn-2/docker-compose.yml up -d --force-recreate invidious invidious-2 invidious-3 invidious-4 ptgen --remove-orphans
docker compose --file /home/services/invidious/invidious-external/docker-compose.yml up -d --force-recreate invidious --remove-orphans