The following code goes in the .env
file within the root folder.
Be sure to update all values below with their correct values before attempting to use.
The .env
file should never be committed!
AWS_S3_UPLOAD_ENABLED=true
AWS_S3_ACCESS_KEY_ID="<SECRET>"
AWS_S3_SECRET_ACCESS_KEY="<SECRET>"
AWS_S3_BUCKET_ID="www.archive3.org"
AWS_S3_CDN_BASE_URL="https://www.archive3.org/"
AWS_S3_STORAGE_CLASS="STANDARD"
FLASK_SECRET_KEY="<SECRET>"
SELENIUM_TIMEOUT=30
POSTGRESQL_HOST="127.0.0.1"
POSTGRESQL_PORT=5432
POSTGRESQL_USER="archive3"
POSTGRESQL_PASS="archive3"
POSTGRESQL_DB="archive3"
RIGIDBIT_API_KEY="<SECRET>"
RIGIDBIT_BASE_URL="http://localhost:8000"
RIGIDBIT_PROOF_DELAY=300
ARCHIVE3_ADMIN_PASSWORD="<SECRET>"
ARCHIVE3_BASE_URL="http://www.archive3.org"
ARCHIVE3_DELETE_SCREENSHOTS=true
ARCHIVE3_IMAGE_DIR="static/image"
ARCHIVE3_PROCESSING_READY_LIMIT=100
ARCHIVE3_PROCESSING_THREADS=3
ARCHIVE3_PROCESSING_TTR=120
ARCHIVE3_QUEUE_PROCESSOR_SLEEP=10
ARCHIVE3_QUEUE_RANDOM_URLS=false
ARCHIVE3_RECENT_LIMIT=20
ARCHIVE3_SEARCH_RESULT_LIMIT=100
ARCHIVE3_STYLE_DIR="static/style"
ARCHIVE3_SCREENSHOT_DIR="data"
ARCHIVE3_SCREENSHOT_DIR_DEPTH=0
ARCHIVE3_URL_ERROR_RETRIES=3
ARCHIVE3_URL_EXPIRATION=3600
ARCHIVE3_URL_TIMEOUT=30
ARCHIVE3_USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36"
ARCHIVE3_VIEW_LIMIT=20
ARCHIVE3_VERBOSE=true
GREENSTALK_HOST="127.0.0.1"
GREENSTALK_PORT=11300
GREENSTALK_TUBE_QUEUE="archive3-queue"