browsertrix/configs/config.sample.env
Ilya Kreymer 9bd402fa17
New WS Endpoint for Watching Crawl (#152)
* backend support for new watch system (#134):
- support for watch via redis pubsub and websocket connection to backend
- can support watch from any number of crawler instances to support scaled crawls
- use /archives/{aid}/crawls/{crawl_id}/watch/ws websocket endpoint
- ws: ignore graceful connectionclosedok exception, log other exceptions
- set logging to info to instead of debug for now (debug logs all ws traffic)
- remove old watch apis in backend
- remove old websocket routing to crawler instance for old watch system
- oauth bearer check: support websockets, use websocket object if no request object
- crawler args: replace --screencastPort with --screencastRedis
2022-02-22 10:33:10 -08:00

42 lines
929 B
Bash

# Env Settings (for local Docker Deployment)
MONGO_HOST=mongo
PASSWORD_SECRET=change_me
MONGO_INITDB_ROOT_USERNAME=root
MONGO_INITDB_ROOT_PASSWORD=example
MINIO_ROOT_USER=ADMIN
MINIO_ROOT_PASSWORD=PASSW0RD
SUPERUSER_EMAIL=admin@example.com
# if blank, a password is generated automatically
SUPERUSER_PASSWORD=
STORE_ENDPOINT_URL=http://minio:9000/test-bucket/
STORE_ACCESS_ENDPOINT_URL=http://localhost:9000/test-bucket/
STORE_ACCESS_KEY=ADMIN
STORE_SECRET_KEY=PASSW0RD
MC_HOST_local=http://ADMIN:PASSW0RD@minio:9000
REDIS_URL=redis://redis/0
# enable to send verification emails
#EMAIL_SMTP_HOST=smtp.gmail.com
#EMAIL_SMTP_PORT=587
#EMAIL_SENDER=user@example.com
#EMAIL_PASSWORD=password
# Browsertrix Crawler image to use
CRAWLER_IMAGE=webrecorder/browsertrix-crawler
CRAWL_ARGS="--timeout 90 --logging stats,behaviors,debug --generateWACZ --screencastRedis"
REGISTRATION_ENABLED=1
JWT_TOKEN_LIFETIME_MINUTES=60