This repository has been archived by the owner on Mar 15, 2023. It is now read-only.
forked from pupilfirst/pupilfirst
-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.env
115 lines (87 loc) · 3.26 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# Basic Rails config.
RACK_ENV=development
RAILS_ENV=development
PORT=3000
# Set this environment variable in production to enable Rails' public file server.
RAILS_SERVE_STATIC_FILES=true
# Timeout enforced by the slowpoke gem.
SLOWPOKE_TIMEOUT=20
# AWS credentials for file storage.
AWS_ACCESS_KEY_ID=access_key_id_from_aws
AWS_SECRET_ACCESS_KEY=secret_access_key_from_aws
AWS_BUCKET=bucket_name_from_aws
AWS_REGION=bucket_region_name
# CDN base URL.
ASSET_HOST=asset_host_url
# Postgres credentials.
DB_NAME=pupilfirst
DB_NAME_TEST=pupilfirst_test
DB_HOST=localhost
DB_USERNAME=postgres_username
DB_PASSWORD=postgres_password
# Keys for setting up OAuth.
GITHUB_KEY=key_for_github_oauth
GITHUB_SECRET=secret_for_github_oauth
FACEBOOK_KEY=key_for_facebook_oauth
FACEBOOK_SECRET=secret_for_facebook_oauth
GOOGLE_OAUTH2_CLIENT_ID=client_id_for_google_oauth
GOOGLE_OAUTH2_CLIENT_SECRET=client_secret_for_google_oauth
DEFAULT_SENDER_EMAIL_ADDRESS=noreply@example.com
# Postmark mailing service.
POSTMARK_API_TOKEN=api_token_from_postmark
POSTMARK_HOOK_ID=bounce_webhook_username_from_postmark
POSTMARK_HOOK_SECRET=bounce_webhook_password_from_postmark
# Domain which has been configured for re-direction after SSO with OAuth.
SSO_DOMAIN=sso.school.localhost
# Which driver to use when running tests. See `rails_helper.rb` for options.
JAVASCRIPT_DRIVER=headless_chrome
# This is the number of seconds capybara will wait for expected content.
CAPYBARA_MAX_WAIT_TIME=5
# Report runtime errors to Rollbar.
ROLLBAR_CLIENT_TOKEN=post_client_item_from_rollbar
ROLLBAR_SERVER_TOKEN=post_server_item_from_rollbar
ROLLBAR_CAPTURE_UNCAUGHT=false
ROLLBAR_CAPTURE_UNHANDLED_REJECTIONS=false
# Maximum number of markdown attachments allowed per day, per user.
MAX_DAILY_MARKDOWN_ATTACHMENTS=50
# Skylight authentication
SKYLIGHT_AUTHENTICATION=token_from_skylight
# Change user time-zone used in tests; this should match your system's timezone.
SPEC_USER_TIME_ZONE=Asia/Kolkata
# Number of times to retry a failing system test.
SPEC_RETRY_COUNT=2
# Read timeout for webhooks in seconds
WEBHOOK_READ_TIMEOUT=30
# GraphQL API rate limit for a client in requests/second
GRAPH_API_RATE_LIMIT=10
# Vimeo Access Token, used for direct uploads to a Vimeo account (optional).
VIMEO_ACCESS_TOKEN=insert_vimeo_token
VIMEO_ACCOUNT_TYPE=basic
# Vapid Keys for Webpush notification
VAPID_PUBLIC_KEY=vapid_public_key
VAPID_PRIVATE_KEY=vapid_private_key
# Timeout in minutes for reset password token.
RESET_PASSWORD_TOKEN_TIME_LIMIT=30
# Keycloak setup
KEYCLOAK_REALM=realm_name
KEYCLOAK_SITE=http://keycloak.localhost/auth
KEYCLOAK_CLIENT_SECRET=secret
KEYCLOAK_CLIENT_ID=client_id
# Allow email login in development & tests envs
ALLOW_EMAIL_SIGN_IN=false
ONLY_KEYCLOAK=true
# LRS setup
LRS_ENDPOINT=https://lrs/data/xAPI
LRS_KEY=key
LRS_SECRET=secret
HUBSPOT_API_KEY=api_key
HUBSPOT_CLIENT_ID=client_id
HUBSPOT_CLIENT_SECRET=secret
# Tribe's community
COMMUNITY_HOST=https://growth-tribe-staging.tribe.so
# Recaptcha v3 keys, for the first-level score-based evaluation.
RECAPTCHA_V3_SITE_KEY=get_from_google_recaptcha
RECAPTCHA_V3_SECRET_KEY=get_from_google_recaptcha
# Recaptcha v2 keys, the checkbox-based challenge for when the score fails.
RECAPTCHA_V2_SITE_KEY=get_from_google_recaptcha
RECAPTCHA_V2_SECRET_KEY=get_from_google_recaptcha