-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathexample.env
101 lines (93 loc) · 3.69 KB
/
example.env
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
##---------------Hyrax variables----------------------------------
# App user
# Set to the values of your local scholarspace user for development
# If running development via "rails s" and prod on passenger, this does not need to map to the local user
SCHOLARSPACE_GID=1001
SCHOLARSPACE_UID=1001
# Postgres image --> database.yml
HYRAX_DB_USER=
HYRAX_DB_PASSWORD=
HYRAX_DB=gwss_hyrax
HYRAX_DB_HOST=pg-hyrax # Hostname set for container in docker-compose.yml
# initializers/hyrax.rb
CONTACT_EMAIL=
CURATION_CONCERNS=gw_work,gw_etd,gw_journal_issue
BANNER_IMAGE='https://raw.githubusercontent.com/gwu-libraries/scholarspace/v1.6.0/app/assets/images/gw-scholarspace-1.jpg'
# Recaptcha config
# note: get an error visiting the contact page if these values aren't
# set to a value, so just setting them with a default if don't have recaptcha credentials
ROOT_URL=
# v2
RECAPTCHA_SITE_KEY="THIS-IS-A-PLACEHOLDER"
RECAPTCHA_SECRET_KEY="THIS-IS-A-PLACEHOLDER"
# v3
RECAPTCHA_MINIMUM_SCORE=0.9
RECAPTCHA_SITE_KEY_V3="THIS-IS-A-PLACEHOLDER"
RECAPTCHA_SECRET_KEY_V3="THIS-IS-A-PLACEHOLDER"
SMTP_ADDRESS="smtp.gmail.com"
SMTP_PORT="587"
SMTP_DOMAIN="gmail.com"
SMTP_USER=
SMTP_PASSWORD=
# server name for nginx configuration
SERVER_NAME=
# Set to true if using SSL
SSL_ON=
# Directories on host where cert file and key reside
# Nginx requires a single cert file containing both base and intermediate cert
NGINX_CERT_DIR=/opt/scholarspace/nginx-cert-dir
NGINX_KEY_DIR=/opt/scholarspace/nginx-key-dir
# File names for cert and key
NGINX_CERTIFICATE_KEY="key"
NGINX_CERTIFICATE="cert"
# URL used by app
PERM_URL_BASE=
ACCESSIBILITY_URL="https://library.gwu.edu/found-problem?type_of_problem=a11y&a11y_problem_type=item&url=%{gwss_item_url}"
MINTER_STATEFILE=/opt/scholarspace/scholarspace-minter/minter-state
TEMP_FILE_BASE=/opt/scholarspace/scholarspace-hyrax/tmp
DERIVATIVES_PATH=/opt/scholarspace/scholarspace-derivatives
SECRET_KEY_BASE="THIS-IS-A-PLACEHOLDER"
##----------------Redis Image---------------------------------------
REDIS_HOST="redis-hyrax" # This should **NOT** include http://
##----------------Solr image----------------------------------------
# solr.yml & blacklight.yml
SOLR_CORE=scholarspace
SOLR_URL=http://solr-hyrax # Hostname set for container in docker-compose.yml | rsolr requires the "http/s" prefix
SOLR_PORT=8983
SOLR_DATA_DIR=/opt/scholarspace/solr-data
##---------------Fedora image--------------------------------
FEDORA_PG_USER=
FEDORA_PG_PASSWORD=
FEDORA_DB=fcrepo
# fedora.yml
FEDORA_PORT=8080 # Should reflect the port used *inside* the container by the Fedora app
FEDORA_URL=http://fedora-hyrax # Hostname set for container in docker-compose.yml
FEDORA_BASE=rest
FEDORA_USERNAME=fedoraUser
FEDORA_PASSWORD=password
FEDORA_DATA_DIR=/opt/scholarspace/fedora-data
##------ Admin login for running in development -----------
##------ This user is created as an admininstrator when running "rails db:seed"
DEV_ADMIN_USER_EMAIL='[email protected]'
DEV_ADMIN_USER_PASSWORD='password'
##------Google Analytics------------------------------------
HYRAX_ANALYTICS_PROVIDER=ga4
HYRAX_ANALYTICS=true
GOOGLE_ANALYTICS_ID=
##-----SAML------------------------------------
# Use appropriate filenames for IdP cert and SP cert and key, if enabling SAML integration
IDP_CERT_PEM=idp_cert.cer
IDP_SSO_URL=https://www.example.com
IDP_SLO_URL=https://www.example.com
# If including a URL for ISSUER, it should end in a forward slash
ISSUER=
SP_KEY=sp_key.pem
SP_CERT=sp_cert.cer
UID_ATTRIBUTE=
# If reindexing, need to set this value. Several works with location information require it.
GEONAMES_USERNAME=""
# These are used to download ProQuest ETDs from AWS S3
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
AWS_PROQUEST_ETD_BUCKET_NAME=proquest-etds