-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathvariables.env_example
57 lines (43 loc) · 1.63 KB
/
variables.env_example
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
48
49
50
51
52
53
54
55
56
57
DOMAIN=localhost
SECRET_KEY=changeme
# change this to a comma separated list of trusted origins
# cf https://docs.djangoproject.com/en/4.0/ref/settings/#csrf-trusted-origins
# exp: http://*.mydomain.com,https://*.mydomain.com
CSRF_TRUSTED_ORIGINS=http://localhost:8080
# if using a proxy in front of docker
# USE_X_FORWARDED_HOST=True
SITE_NAME=escriptorium
REDIS_HOST=redis
# REDIS_PORT=6379
SQL_HOST=db
SQL_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=escriptorium
DJANGO_SU_NAME=admin
DJANGO_SU_PASSWORD=admin
FLOWER_BASIC_AUTH=flower:changeme
# EMAIL_HOST=<hostname>
# CSRF_TRUSTED_ORIGINS=https://<public_hostname>
# set shm_size in yml file!
KRAKEN_TRAINING_LOAD_THREADS=8
# increase batch size to speed up training on GPU. KRAKEN_TRAINING_LOAD_THREADS
# should be at least as large as the batch size.
KRAKEN_TRAINING_BATCH_SIZE=1
# Enable 16bit mixed precision when training on GPU
# KRAKEN_TRAINING_PRECISION=16-mixed
# CUSTOM_HOME=True
# Uncomment the two following variables to enable customized OpenITI export modes
# EXPORT_OPENITI_MARKDOWN=true
# EXPORT_TEI_XML=true
# --- SEARCH FEATURE ---
# Uncomment the following line to enable Elasticsearch/OpenSearch
# DISABLE_ES_SEARCH=False
# Set this variable to point to your search instance (defaults to 'http://localhost:9200')
# ES_SEARCH_URL=<url>
# Set this variable to define the common ES index (defaults to 'es-transcriptions')
# ES_SEARCH_COMMON_INDEX=<common_index_name>
# Uncomment to enable text alignment with Passim, also need a celery worker with the jvm queue.
# TEXT_ALIGNMENT=True