ArchiveTeam Warrior/Docker environment variables
< ArchiveTeam Warrior
Jump to navigation
Jump to search
Revision as of 20:38, 30 March 2023 by JustAnotherArchivist (talk | contribs) (JustAnotherArchivist moved page ArchiveTeam Warrior/Docker environment properties to ArchiveTeam Warrior/Docker environment variables: Fix nomenclature)
The ArchiveTeam Warrior docker image supports the following environment properties:
DOWNLOADER
: Nickname to show your results on our tracker. Letters and numbers only.HTTP_USERNAME
: Optional username to protect the web interface, leave unset to disable.HTTP_PASSWORD
: Optional password to protect the web interface, leave unset to disable.SELECTED_PROJECT
: Project to work on. Set toauto
for ArchiveTeam’s Choice, or retrieve the value from/home/warrior/projects/config.json
for other projects.CONCURRENT_ITEMS
: How many items should the warrior download at a time? (Default: 2, Max: 6)SHARED_RSYNC_THREADS
: The maximum number of concurrent uploads.WARRIOR_ID
: ?
Docker environment properties are set with the --env
(or -e
) command line flag, for example -e SELECTED_PROJECT=auto
.
These values are written to /home/warrior/projects/config.json
by env-to-json.sh and used for the initial values when the image starts up. They can be changed later via the web interface.