browsertrix/configs/config.sample.env
Ilya Kreymer 53beb84c01
Config superuser (#59)
* backend: automatically create super user, fixes #57
- if SUPERUSER_EMAIL is set, superuser is created with `is_superuser` and `is_verified` settings, if user doesn't already exist.
- if SUPERUSER_PASSWORD if set, the password for superuser is set, otherwise a random password is generated
update sample SUPERUSER_EMAIL and SUPERUSER_PASSWORD in config file and chart.
- ensure verification email is not sent if user already verified
2021-12-05 14:12:42 -08:00

42 lines
933 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 --screencastPort 9037"
REGISTRATION_ENABLED=1
JWT_TOKEN_LIFETIME_MINUTES=60