-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.EXAMPLE.yml
More file actions
87 lines (68 loc) · 2.47 KB
/
application.EXAMPLE.yml
File metadata and controls
87 lines (68 loc) · 2.47 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
## Example Figaro environment variable configuration file. Copy this file as
## follows:
##
## cp application.EXAMPLE.yml config/application.yml
##
## Then fill the values in below. YOU SHOULD ONLY MAKE CHANGES TO THE COPIED
## FILE, NOT THIS ONE. Otherwise, you may end up with merge conflicts if this
## file if ever changed in the git repo.
## Everything from here to 'production:' will be the default values for
## every environment. To override a setting, or to set keys specific for
## an environment, add it to the relevant section below.
## Set this to a very long, random string, like the result of running:
## bundle exec rake secret
SECRET_BASE_KEY: "a_long_secret_string"
## Set this to the domain name.
DOMAIN: "localhost:3000"
## Set this to the from email address (e.g., noreply@mydomain.com).
FROM_EMAIL: "noreply@localhost"
## Set this to the email address of the webmaster or site maintainer.
WEBSITE_CONTACT: "webmaster@localhost:3000"
## Pages that trigger emails (signup, password reset, email update) and logins
## use reCAPTCHA v2 "I'm not a robot" Checkbox to prevent abuse from bots.
## Register for a reCAPTCHA v2 key here:
## https://www.google.com/recaptcha/admin/create
##
## Add your keys below:
RECAPTCHA_SITE_KEY: "xxxxxxxxx"
RECAPTCHA_SECRET_KEY: "xxxxxxxxx"
## Production settings.
production:
## Set this to a very long, random string, like the result of running:
## bundle exec rake secret
SECRET_BASE_KEY: "a_different_long_secret_string"
## Set this to the domain name of your production site.
DOMAIN: "mysite.com"
## Set this to the from email address (e.g., noreply@mydomain.com).
FROM_EMAIL: "noreply@mysite.com"
## Use SSL -- default is true.
FORCE_SSL: "true"
## DB adapter. Additional gems may need to be installed if not postgresql.
DB_ADAPTER: "postgresql"
## Encoding.
DB_ENCODING: "unicode"
## Database info.
DB_NAME: "a database name"
DB_HOST: "localhost"
DB_USERNAME: "a database user name"
DB_PASSWORD: "a secret password"
## Sunspot/Solr
SOLR_HOST: "localhost"
SOLR_PORT: "8983"
SOLR_LOG_LEVEL: "WARNING"
SOLR_PATH: "/solr/production"
## Development settings.
development:
## Add development-specific settings here.
SOLR_HOST: "localhost"
SOLR_PORT: "8982"
SOLR_LOG_LEVEL: "INFO"
SOLR_PATH: "/solr/development"
DEV_HOST_PORT: "3000"
## Test settings.
test:
## Add test-specific settings here.
SOLR_HOST: "localhost"
SOLR_PORT: "8981"
SOLR_LOG_LEVEL: "WARNING"
SOLR_PATH: "/solr/test"