-
Notifications
You must be signed in to change notification settings - Fork 28
/
.env.example.docker
53 lines (44 loc) · 1.61 KB
/
.env.example.docker
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
# General project
SECRET_KEY=iati_cloud
DEBUG=True
FRESH=True
THROTTLE_DATASET=False
DJANGO_STATIC_ROOT=/static/
DJANGO_STATIC_URL=/static/
# Postgres
POSTGRES_HOST=database
POSTGRES_PORT=5432
POSTGRES_DB=iati_cloud
POSTGRES_USER=iati_cloud
POSTGRES_PASSWORD=oipa
# Celery
CELERY_BROKER_URL=amqp://rabbitmq
# FCDO Instance
FCDO_INSTANCE=False
# SOLR USERNAME AND PASSWORD
SOLR_ADMIN_USERNAME=admin_example
SOLR_ADMIN_PASSWORD=exampl3_123!
# SOLR BASE URL, Use the same username and password as above
SOLR_BASE_URL=http://admin_example:exampl3_123!@solr:8983/solr
# BASE ENCODED USER AND PASSWORD (USE https://www.base64encode.org/ TO ENCODE)
SOLR_AUTH_ENCODED=YWRtaW5fZXhhbXBsZTpleGFtcGwzXzEyMyE=
# SOLR Memory (in GB), 20 and 40 are recommended for production, local you can use 1 and 2.
MEM_SOLR_MIN=20
MEM_SOLR_MAX=40
# Flower password
CELERYFLOWER_PASSWORD=zz
CELERYFLOWER_USER=zz
# DJANGO DEFAULT SUPERUSER WHEN FIRST RUN
DJANGO_SUPERUSER_USERNAME=admin_example
DJANGO_SUPERUSER_PASSWORD=exampl3_123!
# MONGODB DEFAULT SUPERUSER, PASSWORD AND DATABASE WHEN FIRST RUN
MONGO_INITDB_ROOT_USERNAME=admin_example
MONGO_INITDB_ROOT_PASSWORD=exampl3_123!
MONGO_INITDB_DATABASE=activities # needs to stay the same
# MongoDB use the same username and password as above
MONGO_CONNECTION_STRING=mongodb://admin_example:exampl3_123!@mongo:27017
# NGINX HOST, localhost for local development, iati.cloud for production
IC_DOMAIN=localhost
# Source of incoming requests and access to Django admin, for example in production: "https://datastore.iati.cloud"
CSRF_TRUSTED_ORIGINS=https://<your_domain>