### Run Warrior with Docker Compose Source: https://github.com/archiveteam/warrior-dockerfile/blob/master/README.md Navigate to the examples directory and use docker compose to start the Warrior and Watchtower services. Ensure docker-compose.yml is configured with necessary keys. ```bash cd examples docker compose up -d ``` -------------------------------- ### Run Watchtower and Warrior on Windows (CMD) Source: https://github.com/archiveteam/warrior-dockerfile/blob/master/README.md Executes the same Docker commands as the Linux example but adapted for Windows Command Prompt using '^' for line continuation. ```bash docker run --detach ^ --name watchtower ^ --restart=on-failure ^ --volume /var/run/docker.sock:/var/run/docker.sock ^ nickfedor/watchtower --label-enable --cleanup --interval 3600 docker run --detach ^ --name archiveteam-warrior ^ --label=com.centurylinklabs.watchtower.enable=true ^ --restart=on-failure ^ --publish 8001:8001 ^ atdr.meo.ws/archiveteam/warrior-dockerfile ``` -------------------------------- ### Build Docker Image for Multiple Platforms Source: https://github.com/archiveteam/warrior-dockerfile/blob/master/README.md Build and push a Docker image for the Warrior to a container registry using docker buildx. Replace with your actual username and specify the desired platform. ```bash docker buildx build -t /archive-team-warrior:latest --platform linux/arm/v7 --push . ``` -------------------------------- ### Deploy Warrior to Kubernetes Source: https://github.com/archiveteam/warrior-dockerfile/blob/master/README.md Use these commands to create a namespace and apply the Warrior configuration to your Kubernetes cluster. Ensure the DOWNLOADER environment variable is set in k8s-warrior.yml. ```bash kubectl create namespace archive kubectl apply -n archive -f k8s-warrior.yml ``` -------------------------------- ### Run Warrior with Environment Variables Source: https://github.com/archiveteam/warrior-dockerfile/blob/master/README.md Use this command to run the Warrior container and specify seed settings via environment variables. Ensure that no `projects/config.json` file is mounted, as it will override these settings. ```bash docker run --detach \ --env DOWNLOADER="your name" \ --env SELECTED_PROJECT="auto" \ --name archiveteam-warrior \ --label=com.centurylinklabs.watchtower.enable=true \ --restart=on-failure \ --publish 8001:8001 \ atdr.meo.ws/archiveteam/warrior-dockerfile ``` -------------------------------- ### Run Watchtower and Warrior Containers Source: https://github.com/archiveteam/warrior-dockerfile/blob/master/README.md Launches Watchtower for container management and the Archive Team Warrior in detached mode. Configures automatic restarts and enables Watchtower to manage the Warrior container. ```bash docker run --detach \ --name watchtower \ --restart=on-failure \ --volume /var/run/docker.sock:/var/run/docker.sock \ nickfedor/watchtower --label-enable --cleanup --interval 3600 docker run --detach \ --name archiveteam-warrior \ --label=com.centurylinklabs.watchtower.enable=true \ --restart=on-failure \ --publish 8001:8001 \ atdr.meo.ws/archiveteam/warrior-dockerfile ``` -------------------------------- ### Run Multiple Warrior Containers Source: https://github.com/archiveteam/warrior-dockerfile/blob/master/README.md Launches an additional Warrior container, mapping a different host port (8002) to the container's port 8001. This allows running multiple instances accessible on different ports. ```bash docker run --detach \ --env DOWNLOADER="your name" \ --env SELECTED_PROJECT="auto" \ --name archiveteam-warrior \ --label=com.centurylinklabs.watchtower.enable=true \ --restart=on-failure \ --publish 8002:8001 \ atdr.meo.ws/archiveteam/warrior-dockerfile ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.