Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
118 lines (89 loc) · 4.85 KB
/
Copy path.env.example
File metadata and controls
118 lines (89 loc) · 4.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
113
114
115
116
117
118
# Learn more about these settings at https://github.com/o19s/quepid/tree/main/docs/operating_documentation.md
PORT=3000
APP_PORT=3000
RACK_ENV=development
RAILS_ENV=development
# Which database adapter to use: mysql2 (default, matches production),
# postgresql, or sqlite3 (no separate DB server needed).
# See config/database.yml.
#DB_ADAPTER=mysql2
MAX_THREADS=2
WEB_CONCURRENCY=2
# How often should SOLID_CABLE poll the database for new ActionCable messages.
# You may need to dial it back if you are overloading the database.
SOLID_CABLE_POLLING=0.1.seconds
# How often should SOLID_QUEUE poll the database for new jobs to process.
# You may need to dial it back if you are overloading the database.
SOLID_QUEUE_POLLING=0.1.seconds
# This makes Quepid run only on SSL, including all interactions
# with search engines on SSL. If FORCE_SSL is false, then Quepid will switch
# between http and https based on the url of the search engine for the main
# /case page. Browsers prevent Quepid in HTTPS mode from accessing HTTP search engines,
# so in that case you need to set this to false.
FORCE_SSL=false
# This makes Quepid show detailed error messages in the UI instead of a generic 500 page,
# useful while testing a deployment in Production.
QUEPID_CONSIDER_ALL_REQUESTS_LOCAL=false
# DB_HOST is not needed in development or test, see database.yml.
#DB_HOST=mysql
DB_USERNAME=root
DB_PASSWORD=password
DB_NAME=quepid
QUEPID_DOMAIN=localhost
# Used to insert web links if populated.
TC_URL=
PRIVACY_URL=
COOKIES_URL=
# Email Marketing request mode for GDPR compliance
EMAIL_MARKETING_MODE=false
# Default scorer for new user accounts
QUEPID_DEFAULT_SCORER=AP@10
# Whether or not signing up via the UI is enabled.
SIGNUP_ENABLED=true
# Whether or not signing in via email/password is enabled.
EMAIL_LOGIN_ENABLED=true
# Whether users are only allowed to use communal (admin controlled) scorers to prevent javascript embedding security issues
COMMUNAL_SCORERS_ONLY=false
# If users must use the proxy setting with search endpoints that have basic auth credentials set.
REQUIRE_PROXY_WITH_BASIC_AUTH_CREDENTIALS=false
# Require every new or edited endpoint to proxy requests; incompatible existing endpoints are warned about.
REQUIRE_PROXY_FOR_ALL_SEARCH_ENDPOINTS=false
# Internal networks the proxy may reach, as comma separated CIDR ranges or IPs (e.g. 10.0.5.0/24,192.168.1.50).
# Blank blocks all loopback, link-local and private addresses. A listed range is trusted as is, so keep it narrow.
PROXY_ALLOWED_NETWORKS=
# Exact hostnames the proxy may reach even when they resolve to private addresses, e.g. an internal
# load balancer or VPC search domain whose IPs change. Comma separated, no wildcards. Link-local
# addresses stay blocked for these names.
PROXY_ALLOWED_HOSTS=
# What provider to use to send emails. Blank disables sending emails.
EMAIL_PROVIDER=
# The email address of the sender of emails, ie quepid@o19s.com.
EMAIL_SENDER=
# See https://github.com/o19s/quepid/issues/272 for a bug in expand/collapse that some setups experience.
# This lets you disable the sorting if you experience the bug.
QUERY_LIST_SORTABLE=true
# OAuth Settings: remove these to disable Google OAuth or set them to your own values
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
# Keycloak Settings: remove these to disable Keycloak or set them to your own values
KEYCLOAK_REALM=quepid
KEYCLOAK_SITE=http://keycloak:9080
# == OpenID Connect Settings =
# There are 5 settings for OpenID Connect. The first 4 are required, and the last one is optional.
# If you want to use OpenID Connect for authentication, you need to set these values.
# If you don't want to use OpenID Connect, leave them commented out or remove them.
# The first 3 settings are the client ID, client secret, and issuer URL for your OpenID Connect provider. They will be
# provided when you register your application with your provider. They should be considered secret and not committed to
# source control.
# OPENID_CONNECT_CLIENT_ID=
# OPENID_CONNECT_CLIENT_SECRET=
# OPENID_CONNECT_ISSUER=
# OPENID_CONNECT_BASE_URL should be the protocol and domain that Quepid is running under, e.g. https://example.com or http://localhost:3000 . This is not provided by your OpenID Connect provider, but is needed for Quepid to know how to construct the callback URL for OpenID Connect. It should not have a trailing slash.
# OPENID_CONNECT_BASE_URL=
# If you would like to change the button text for OpenID Connect login, you can set this value. The default is "Sign in with OpenID Connect".
# OPENID_CONNECT_BUTTON_TEXT=Sign in with OpenID Connect
# ActiveRecord Encryption Keys
# Generate them via bin/rails db:encryption:init
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=your-32-character-key-here
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=your-32-character-salt-here
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=your-32-character-primary-key-here