-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.dist
47 lines (37 loc) · 1003 Bytes
/
.env.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# General
DJANGO_DEBUG=True
DJANGO_SECRET_KEY=django-insecure-p8%3wt_7j(fur$*9m)pi+=9%18_x)zhjl)5)4vk)gcoc=efx-u
SCRATCH_DIRECTORY=/data/scratch
# Web Server
WEB_SERVER_SCHEME=http
WEB_SERVER_HOSTNAME=localhost:8000
# Origin Fetching
ORIGIN_CHUNK_SIZE=8192
# Database
DATABASE_URL=postgresql://dlcs:password@postgres:5432/compositedb
# CACHE
CACHE_URL=dbcache://app_cache
# PDF Rasterization
PDF_RASTERIZER_THREAD_COUNT=3
PDF_RASTERIZER_DPI=500
PDF_RASTERIZER_FORMAT=jpg
# DLCS
DLCS_API_ROOT=https://api.dlcs.digirati.io/
DLCS_S3_BUCKET_NAME=
DLCS_S3_OBJECT_KEY_PREFIX=composites
DLCS_S3_UPLOAD_THREADS=8
DLCS_BATCH_SIZE=100
# Django Q Engine
ENGINE_WORKER_COUNT=2
ENGINE_WORKER_TIMEOUT=3600
ENGINE_WORKER_RETRY=4500
ENGINE_WORKER_MAX_ATTEMPTS=0
# Django Q SQS Broker
SQS_BROKER_QUEUE_NAME=composite-handler-queue
# Run migrations
MIGRATE=True
# DJANGO ADMIN
INIT_SUPERUSER=True
DJANGO_SUPERUSER_EMAIL=x.y@z
DJANGO_SUPERUSER_PASSWORD=composite-handler-password
DJANGO_SUPERUSER_USERNAME=Admin