-
Notifications
You must be signed in to change notification settings - Fork 11
/
env.sample
124 lines (106 loc) · 4.36 KB
/
env.sample
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
119
120
121
122
123
124
## Copy this file to an appropriate location, and make your changes there
# They are loaded in the order listed - the first place to define something wins
# .env.development.local
# .env.test.local
# .env.production.local
# .env.local # not loaded in test environment
# .env # loaded in all environments
## Access details for your database
DATABASE_URL=postgres://$(whoami):your_db_password@localhost/shinycms
# Blazer powers the web stats dashboard - it should only have read access
# (In development this will fall back to using DATABASE_URL if not set)
# BLAZER_DATABASE_URL=postgres://read_only_user:its_password@localhost/shinycms
## Seed for secret keys
# Generate your own with this command: rails secret
SECRET_KEY_BASE=
## ShinyCMS plugins
# Choose which plugins to load (and what order they should appear in menus etc)
# If you leave this blank, all available plugins will be loaded (alphabetically)
SHINYCMS_PLUGINS=ShinyPages,ShinyForms,ShinyInserts,ShinyNews,ShinyBlog,ShinyLists,ShinyNewsletters,ShinySearch,ShinyProfiles
## The full domain name for your website
# As well as being used by any mailer that includes a link to your site,
# this is also used by ShinySEO::Sitemap to generate the URLs in sitemaps,
# and by ShinyCMS::ShinyAtomFeed to generate the URLs in Atom feeds.
MAILER_HOST=www.example.com
# Set this to 'true' to always generate https:// links
# (can be useful with Cloudflare 'partial SSL' mode)
SHINYCMS_USE_HTTPS=false
## Airbrake
# Airbrake is an error monitoring and APM service
# https://airbrake.com
AIRBRAKE_PROJECT_ID=
AIRBRAKE_API_KEY=
## Bugsnag
# Bugsnag is an application stability monitoring service
# https://app.bugsnag.com/
BUGSNAG_API_KEY=
## SMTP server details for ActionMailer
# Server address and port
MAILER_ADDRESS=mail.example.com
MAILER_PORT=587
# The username and password for your account
MAILER_USER_NAME=shinycms@example.com
MAILER_PASSWORD=********
# Your email domain name
MAILER_DOMAIN=example.com
## Google reCAPTCHA
# Used to protect registration and comment forms from automated abuse
# If you provide V2 and V3 keys ShinyCMS will try an 'invisible' V3 reCAPTCHA
# first, falling back to a V2 checkbox reCAPTCHA if the V3 score is too low.
# https://www.google.com/recaptcha/admin
RECAPTCHA_V3_SITE_KEY=
RECAPTCHA_V3_SECRET_KEY=
RECAPTCHA_CHECKBOX_SITE_KEY=
RECAPTCHA_CHECKBOX_SECRET_KEY=
## Algolia search
# Search-as-a-Service - a limited account is available free for non-commercial sites
# https://www.algolia.com/dashboard
ALGOLIASEARCH_APPLICATION_ID=
ALGOLIASEARCH_API_KEY=
ALGOLIASEARCH_API_KEY_SEARCH=
ALGOLIASEARCH_USING_PAID_PLAN=
## Disable pg_search (default search backend)
DISABLE_PG_SEARCH=false
## Sidekiq settings
# For these to be used locally, use `tools/shiny-sidekiq-dev` to start Sidekiq via dotenv
# Number of threads to use
SIDEKIQ_CONCURRENCY=1
# Prefix to add to Sidekiq queue names
SIDEKIQ_PREFIX=shinycms
# Set this to 'true' to disable Sidekiq::Web (dashboard, linked from admin area menu)
DISABLE_SIDEKIQ_WEB=false
## Coverband
# This gem tracks usage of your code in production
# Set this to 'true' to disable its web UI (linked from admin area menu)
DISABLE_COVERBAND_WEB_UI=false
## Akismet
# Used to identify spam comments
# https://akismet.com/account/
AKISMET_API_KEY=
## AWS S3
# Amazon's cloud storage service
# https://s3.console.aws.amazon.com
# Use AWS S3 to store user-uploaded images (e.g. profile pics)
AWS_S3_FILES_CUSTOM_URL=https://files.myshinysite.com
AWS_S3_FILES_BUCKET=
AWS_S3_FILES_REGION=
AWS_S3_FILES_ACCESS_KEY_ID=
AWS_S3_FILES_SECRET_ACCESS_KEY=
# Use AWS S3 to serve your Atom feeds and/or sitemaps
AWS_S3_FEEDS_CUSTOM_URL=https://feeds.myshinysite.com
AWS_S3_FEEDS_BUCKET=
AWS_S3_FEEDS_REGION=
AWS_S3_FEEDS_ACCESS_KEY_ID=
AWS_S3_FEEDS_SECRET_ACCESS_KEY=
## Privacy settings for Ahoy web stats; potentially useful for GDPR compliance
# https://github.com/ankane/ahoy/blob/master/README.md#gdpr-compliance-1
# Set AHOY_MASK_IPS to the string 'true' to mask IP addresses
# (sets the last part of the address to zeros before storing it)
AHOY_MASK_IPS=false
# Set AHOY_LINK_USERS to 'false' to disable automatic linking of visits and users
AHOY_LINK_USERS=true
# Set AHOY_COOKIES to 'false' to use anonymity sets instead of cookies
# https://privacypatterns.org/patterns/Anonymity-set
AHOY_COOKIES=true
# Use Pry as your production Rails console (enabled by default in development and test)
SHINYCMS_PRY_CONSOLE=true