Created
March 22, 2019 07:55
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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