ArchiveTeam Warrior/Docker environment variables
< ArchiveTeam Warrior
Jump to navigation
Jump to search
Revision as of 20:39, 30 March 2023 by JustAnotherArchivist (talk | contribs) (These are (virtually always) called 'environment variables')
The ArchiveTeam Warrior docker image supports the following environment variables:
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 toautofor ArchiveTeam’s Choice, or retrieve the value from/home/warrior/projects/config.jsonfor 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 variables 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.