-
Notifications
You must be signed in to change notification settings - Fork 18
/
.env.sample
77 lines (58 loc) · 2.79 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
# -----------------------------------------------------------------------------
# Required for all environments
# -----------------------------------------------------------------------------
## Email address from which system emails will be sent
## Configuration for system emails; defaults are for Postmark, see README for instructions
EMAIL_PORT=587
EMAIL_SERVER=smtp.postmarkapp.com
EMAIL_USERNAME=
EMAIL_PASSWORD=
## The hostname of this instance, e.g. localhost:3000 or my-app.my-domain.com
HOSTNAME=localhost:3000
## Unicode Locale string for multilingual support; at present, only en_US.UTF-8 is supported
LANG=en_US.UTF-8
## The protocol this instance is served on (http or https)
PROTOCOL=http
## The environment for this instance; set to 'development' or 'production'
RACK_ENV=development
RAILS_ENV=development
## Rails configurations that can be changed per this instance's needs
RAILS_LOG_TO_STDOUT=enabled
RAILS_SERVE_STATIC_FILES=enabled
## A secure key used to encrypt passwords
SECRET_KEY_BASE=
## Redis URL; comment this out in Docker Compose environments
REDIS_URL=redis://localhost:6379
## Must be set to REDIS_URL
REDIS_PROVIDER=REDIS_URL
# -----------------------------------------------------------------------------
# Required for all production environments
# -----------------------------------------------------------------------------
## Database credentials to use on this production instance
# DM2_DATABASE_USER=
# DM2_DATABASE_PASSWORD=
# -----------------------------------------------------------------------------
# Required for running Docker Compose in a production environment
# -----------------------------------------------------------------------------
## Local filesystem mount point for PostgreSQL database. It is recommended to
## change this to something persistent on your local filesystem that is regularly backed up.
# DATABASE_FS_MOUNT=./tmp/prod-db
## Port from which the app is served. Should be 443 to use provided Docker image and Docker
## Compose yml files.
# PORT=443
# -----------------------------------------------------------------------------
# Required if using an external PostgreSQL database
# -----------------------------------------------------------------------------
## External PostgreSQL database URL
## - Development env will look for or create a database called dm2_staging
## - Production env will look for or create a database called dm2_production
# DATABASE_URL=postgres://user:pass@hostname
# -----------------------------------------------------------------------------
# Required if ACTIVE_STORAGE_SERVICE: 'amazon' in config/application.yml
# -----------------------------------------------------------------------------
## AWS credentials to use for storage
# AWS_ACCESS_KEY_ID=
# AWS_BUCKET=
# AWS_REGION=
# AWS_SECRET_ACCESS_KEY=