Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nickfost/2b845b436287c59ca06ab9d239052204 to your computer and use it in GitHub Desktop.
Save Nickfost/2b845b436287c59ca06ab9d239052204 to your computer and use it in GitHub Desktop.
This installs docker, pulls the project deploys 4 Archive Warrior Instances, Updates Debian based Os, Reboots.
#!/bin/sh
# NOTE: This installs docker, pulls the project deploys 4 Archive Warrior Instances, Updates Debian based Os, Reboots.
# Nickfost.net
sudo apt-get update -y
sudo apt-get install curl ufw -y
sudo ufw enable
sudo ufw allow 8001
sudo ufw allow 8002
sudo ufw allow 8003
sudo ufw allow 8004
sudo ufw allow ssh
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
docker pull archiveteam/warrior-dockerfile
docker run --detach --env DOWNLOADER="Nickfost" --env SELECTED_PROJECT="auto" --publish 8001:8001 --restart always archiveteam/warrior-dockerfile
docker run --detach --env DOWNLOADER="Nickfost" --env SELECTED_PROJECT="auto" --publish 8002:8001 --restart always archiveteam/warrior-dockerfile
docker run --detach --env DOWNLOADER="Nickfost" --env SELECTED_PROJECT="auto" --publish 8003:8001 --restart always archiveteam/warrior-dockerfile
docker run --detach --env DOWNLOADER="Nickfost" --env SELECTED_PROJECT="auto" --publish 8004:8001 --restart always archiveteam/warrior-dockerfile
sudo apt-get update -y
sudo apt-get upgrade -y
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment