mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-11 13:08:34 +03:00
improves example files
This commit is contained in:
35
.env.example
Normal file
35
.env.example
Normal file
@@ -0,0 +1,35 @@
|
||||
# main settings
|
||||
USER_GROUPS_FILENAME=app/user-groups.yaml
|
||||
# database
|
||||
DATABASE_PATH="sqlite:///./database/auto-archiver.db"
|
||||
DATABASE_QUERY_LIMIT=100
|
||||
|
||||
# security settings
|
||||
API_BEARER_TOKEN=TODO-MODIFY-THIS-API-TOKEN
|
||||
ALLOWED_ORIGINS='["http://localhost:8000","http://localhost:8004","http://localhost:8081","https://auto-archiver.bellingcat.com"]'
|
||||
CHROME_APP_IDS='[PROJECT_ID.apps.googleusercontent.com"]'
|
||||
BLOCKED_EMAILS='[]'
|
||||
# redis configuration
|
||||
REDIS_PASSWORD=TODO-MODIFY-THIS-REDIS-PASSWORD
|
||||
REDIS_HOSTNAME="localhost"
|
||||
|
||||
# cronjobs management, enable as needed
|
||||
CRON_ARCHIVE_SHEETS=true
|
||||
CRON_DELETE_STALE_SHEETS=true
|
||||
DELETE_STALE_SHEETS_DAYS=7
|
||||
CRON_DELETE_SCHEDULED_ARCHIVES=false
|
||||
DELETE_SCHEDULED_ARCHIVES_NOTIFY_DAYS=14
|
||||
|
||||
# observability for prometheus
|
||||
REPEAT_COUNT_METRICS_SECONDS=30
|
||||
|
||||
# mail service settings, if you want to email users
|
||||
MAIL_FROM="noreply@auto-archiver.com"
|
||||
MAIL_FROM_NAME="My Auto Archiver deployment"
|
||||
MAIL_USERNAME="USERNAME"
|
||||
MAIL_PASSWORD="PASSWORD"
|
||||
MAIL_SERVER="mail.server.com"
|
||||
MAIL_PORT=587
|
||||
MAIL_STARTTLS=False
|
||||
MAIL_SSL_TLS=True
|
||||
|
||||
Reference in New Issue
Block a user