git clone https://github.com/Fusl/ateam-airsync
docker build -t ateam-airsync ateam-airsync/
git clone https://github.com/archiveteam/archiveteam-megawarc-factory
docker build -t archiveteam-factory archiveteam-megawarc-factory/
IA_COLLECTION="archiveteam_inbox"
IA_ITEM_TITLE="Archive Team <insert_name>:"
IA_ITEM_PREFIX="archiveteam_<insert_name>_"
FILE_PREFIX="<insert_name>_"
IA_AUTH="<insert_IA_Auth>"
MEGABYTES_PER_CHUNK="$((20*1024))"
ZST_DICTIONARY_API="https://legacy-api.arpa.li/dictionary"
docker run -d -e MAX_CONN=60 -v data:/data/ -p 873:873 --name <insert_name>-rsync warcforceone/ateam-airsync
docker run --name "<insert_name>-chunker" -d -v data:/data/ -e MEGABYTES_PER_CHUNK="${MEGABYTES_PER_CHUNK}" archiveteam-factory chunk
docker run --name "<insert_name>-packer1" -d -v data:/data/ -e FILE_PREFIX="${FILE_PREFIX}" -e ZST_DICTIONARY_API="${ZST_DICTIONARY_API}" archiveteam-factory pack
docker run --name "<insert_name>-uploader1" -d -v data:/data/ -e IA_AUTH="${IA_AUTH}" -e IA_COLLECTION="${IA_COLLECTION}" -e IA_ITEM_TITLE="${IA_ITEM_TITLE}" -e IA_ITEM_PREFIX="${IA_ITEM_PREFIX}" -e FILE_PREFIX="${FILE_PREFIX}" archiveteam-factory upload