-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.env.example
More file actions
112 lines (84 loc) · 2.85 KB
/
.env.example
File metadata and controls
112 lines (84 loc) · 2.85 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# django stuff
SECRET_KEY=some-random-text
DEBUG=False
ALLOWED_HOSTS='foo.bar, bar.baz'
DB_NAME=celus
DB_PASSWORD=xxxx
DB_PORT=5432
# clickhouse
CLICKHOUSE_SYNC_ACTIVE=False
CLICKHOUSE_QUERY_ACTIVE=False
# please note that CLICKHOUSE_DB is not prepended with test_ in tests, so change it for testing
CLICKHOUSE_DB=celus
# CLICKHOUSE_PASSWORD=foobarbaz
# admins - delimiter ; between people and , between name and email
ADMINS=Beda Kosata, beda@bigdigdata.com; Foo Bar, foo@bar.baz
EMAIL_SUBJECT_PREFIX=[Stats]
# other django stuff
MAILGUN_API_KEY=xxxx
DISABLE_CACHALOT=False
# ERMS related stuff
ERMS_API_URL=https://erms.czechelib.cz/api/
EDUID_IDENTITY_HEADER=HTTP_X_IDENTITY
# organizations whose users should have access to all
MASTER_ORGANIZATIONS=foo, bar
# should we try to authenticate against ERMS before trying local data?
LIVE_ERMS_AUTHENTICATION=False
# how many times max should we retry queued attempts
QUEUED_SUSHI_MAX_RETRY_COUNT=5
# this is the currency used for price calculation
REFERENCE_CURRENCY=CZK
# CELUS features configuration
# is this installation intended for one consortium
CONSORTIAL_INSTALLATION=True
# user authentication and registration
# should users be allowed to create accounts themselves
ALLOW_USER_REGISTRATION=False
# allow account management via UI
ALLOW_USER_MANAGEMENT=False
# allow users to create platforms
ALLOW_USER_CREATED_PLATFORMS=False
# should metrics be automatically created during the import
AUTOMATICALLY_CREATE_METRICS=True
# global setting to activate the tag system
REPORT_TYPES_WITHOUT_COVERAGE=''
SITE_ID=1
# celus stuff - note: for tests, both login methods should be enabled
ALLOW_EMAIL_LOGIN=True
ALLOW_EDUID_LOGIN=True
# sentry related stuff
SENTRY_URL=
SENTRY_ENVIRONMENT=unknown
SENTRY_RELEASE=unknown
# IPs to display in frontend so that customer knows,
# which addresses to register with his provider
HARVESTER_IPV4_ADDRESSES="142.93.169.41"
HARVESTER_IPV6_ADDRESSES="2a03:b0c0:3:e0::465:c001"
# FlexibleDataExport settings
EXPORT_DELETING_DAYS=7
# Releases and Changelog
RELEASES_SOURCEFILE="RELEASES.yaml"
# Should upload of manual data in CELUS format be allowed
ALLOW_CELUS_FORMAT_IMPORT=True
# nibbler releated stuff
ENABLE_RAW_DATA_IMPORT=None
DISABLE_NIBBLER_PARSER_VERSION_CHECK=False
# request logging
CLICKHOUSE_REQUEST_LOGGING=True
CLICKHOUSE_LOGGING_DB=celus
# NTFY
NTFY_BASE_URL="https://ntfy.sh/"
NTFY_DEFAULT_TOPIC="my-unique-celus-topic"
NTFY_DEFAULT_ICON_URL="https://example.com/favicon.ico"
NTFY_DEFAULT_TAGS="rotating_light,skull"
NTFY_DEFAULT_PRIORITY="4"
EMAIL_EXPONENTIAL_RATE_LIMIT_BACKENDS="anymail.backends.mailgun.EmailBackend"
EMAIL_EXPONENTIAL_RATE_LIMIT_TIMEOUT="86400"
# OTP
OTP_ENABLED=False
# Events - turn off welcome events by default - also used for tests
CREATE_USER_WELCOME_EVENTS=False
# items
ENABLE_ITEMS=True
# Synchronization with COUNTER registry
USES_REGISTRY_BACKEND=False