-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.EXAMPLE.yml
More file actions
85 lines (66 loc) · 2.72 KB
/
application.EXAMPLE.yml
File metadata and controls
85 lines (66 loc) · 2.72 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
## 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"
## 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: "My App <noreply@mysite.com>"
REPLY_TO_EMAIL: "noreply@mysite.com"
## SMTP credentials for sending email authentications and password resets.
## See https://guides.rubyonrails.org/configuring.html#configuring-action-mailer
## for details about these options.
SMTP_SERVER: "an.smtp.server"
## e.g., "25", "465", "587"
SMTP_PORT: "465"
## "plain", "login", or "cram_md"
SMTP_AUTHENTICATION_METHOD: "plain"
## "true" or "false"
SMTP_SSL: "true"
SMTP_TLS: "false"
SMTP_ENABLE_STARTTLS_AUTO: "true"
SMTP_USER_NAME: "your smtp username or api key"
SMTP_PASSWORD: "your smtp password or api key secret"
## "none" or "peer"
SMTP_OPENSSL_VERIFY_MODE: "peer"
## DB adapter. Additional gems may need to be installed if not postgresql.
DB_ADAPTER: "postgresql"
## Encoding.
DB_ENCODING: "unicode"
## Database info. Don't change the username/password unless you plan to *NOT*
## use the Docker Compose file already configured in docker/Compose.prod.yml.
DB_NAME: "codeannotator"
DB_HOST: "db"
DB_USERNAME: "postgres"
DB_PASSWORD: "password"
## This is the port that you should reverse proxy to via Apache/Nginx/etc.
PROD_HOST_PORT: "5000"
## Development settings.
development:
## This is the port that you should reverse proxy to via Apache/Nginx/etc.
DEV_HOST_PORT: "3000"
## Override defaults for development-specific settings here.
## Test settings.
test:
## Add test-specific settings here.