2020-02-15 21:45:44 +00:00
|
|
|
# SECURITY WARNING: keep the secret key used in production secret!
|
2020-11-19 21:01:39 +00:00
|
|
|
SECRET_KEY="7(2w1sedok=aznpq)ta1mc4i%4h=xx@hxwx*o57ctsuml0x%fr"
|
2020-02-15 21:45:44 +00:00
|
|
|
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
2021-03-30 13:28:13 +00:00
|
|
|
DEBUG=false
|
2020-02-15 21:45:44 +00:00
|
|
|
|
2020-03-22 18:21:19 +00:00
|
|
|
DOMAIN=your.domain.here
|
2021-03-30 13:28:13 +00:00
|
|
|
EMAIL=your@email.here
|
2020-02-15 21:45:44 +00:00
|
|
|
|
2021-04-29 17:40:49 +00:00
|
|
|
# Used for deciding which editions to prefer
|
|
|
|
DEFAULT_LANGUAGE="English"
|
|
|
|
|
2020-02-15 21:45:44 +00:00
|
|
|
## Leave unset to allow all hosts
|
2020-03-22 18:21:19 +00:00
|
|
|
# ALLOWED_HOSTS="localhost,127.0.0.1,[::1]"
|
2020-02-15 21:45:44 +00:00
|
|
|
|
2020-03-27 20:27:32 +00:00
|
|
|
OL_URL=https://openlibrary.org
|
2020-02-15 21:45:44 +00:00
|
|
|
|
|
|
|
## Database backend to use.
|
2020-02-15 22:19:36 +00:00
|
|
|
## Default is postgres, sqlite is for dev quickstart only (NOT production!!!)
|
2020-09-21 15:27:12 +00:00
|
|
|
BOOKWYRM_DATABASE_BACKEND=postgres
|
2020-03-22 18:21:19 +00:00
|
|
|
|
2020-03-27 20:27:32 +00:00
|
|
|
MEDIA_ROOT=images/
|
2020-03-22 18:21:19 +00:00
|
|
|
|
2021-05-17 05:03:11 +00:00
|
|
|
POSTGRES_PORT=5432
|
2021-03-30 13:28:13 +00:00
|
|
|
POSTGRES_PASSWORD=securedbpassword123
|
2020-03-27 20:27:32 +00:00
|
|
|
POSTGRES_USER=fedireads
|
|
|
|
POSTGRES_DB=fedireads
|
2020-03-29 00:23:43 +00:00
|
|
|
POSTGRES_HOST=db
|
2020-02-15 21:45:44 +00:00
|
|
|
|
2021-03-22 17:44:42 +00:00
|
|
|
# Redis activity stream manager
|
2021-03-24 15:29:12 +00:00
|
|
|
MAX_STREAM_LENGTH=200
|
2021-03-22 17:44:42 +00:00
|
|
|
REDIS_ACTIVITY_HOST=redis_activity
|
|
|
|
REDIS_ACTIVITY_PORT=6379
|
2021-03-30 13:28:13 +00:00
|
|
|
REDIS_ACTIVITY_PASSWORD=redispassword345
|
2021-03-22 17:44:42 +00:00
|
|
|
|
2021-03-30 13:28:13 +00:00
|
|
|
# Redis as celery broker
|
|
|
|
REDIS_BROKER_PORT=6379
|
|
|
|
REDIS_BROKER_PASSWORD=redispassword123
|
|
|
|
CELERY_BROKER=redis://:${REDIS_BROKER_PASSWORD}@redis_broker:${REDIS_BROKER_PORT}/0
|
|
|
|
CELERY_RESULT_BACKEND=redis://:${REDIS_BROKER_PASSWORD}@redis_broker:${REDIS_BROKER_PORT}/0
|
|
|
|
|
|
|
|
FLOWER_PORT=8888
|
|
|
|
FLOWER_USER=mouse
|
|
|
|
FLOWER_PASSWORD=changeme
|
2020-03-31 23:31:33 +00:00
|
|
|
|
2020-11-19 21:01:39 +00:00
|
|
|
EMAIL_HOST="smtp.mailgun.org"
|
2020-09-23 22:44:47 +00:00
|
|
|
EMAIL_PORT=587
|
|
|
|
EMAIL_HOST_USER=mail@your.domain.here
|
|
|
|
EMAIL_HOST_PASSWORD=emailpassword123
|
|
|
|
EMAIL_USE_TLS=true
|
2021-04-09 11:37:35 +00:00
|
|
|
EMAIL_USE_SSL=false
|
2021-03-30 13:28:13 +00:00
|
|
|
|
2021-06-07 17:52:25 +00:00
|
|
|
# Thumbnails Generation
|
|
|
|
ENABLE_THUMBNAIL_GENERATION=false
|
|
|
|
|
2021-03-30 13:28:13 +00:00
|
|
|
# Set this to true when initializing certbot for domain, false when not
|
|
|
|
CERTBOT_INIT=false
|