-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEnvfile
175 lines (144 loc) · 6.59 KB
/
Envfile
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# Copyright 2013 David Persson. All rights reserved.
# Copyright 2016 Atelier Disko. All rights reserved.
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# "The twelve-factor app stores config in environment variables [...].
# Env vars are easy to change between deploys without changing any code [...]"
# -----------------------------------------------------------
# Environment
# -----------------------------------------------------------
# The context of this environment.
CONTEXT="dev"
# The projects name.
NAME="bseries_site"
# The domain under which the project is served.
DOMAIN="bseries-site.test"
# -----------------------------------------------------------
# Debugging / Analysis
# -----------------------------------------------------------
# Enables/disables maintenance mode. When enabled sends 503 HTTP status code and
# renders "under maintenance" page for all visitors. Useful when doing lengthy
# database or app upgrades.
MAINTENANCE="n"
# Enables/disables debug mode.
DEBUG="y"
# Does not output any debug information, but enable logging of debug information
# to log target. LOGGING must be enabled in order for this to have any effects.
# DEBUG does not affect this setting.
DEBUG_LOGGING="y"
# Controls if logging should be enabled at all.
LOGGING="y"
# Sends logs to syslog, otherwise logs to files (i.e. log/app.log).
HAS_SYSLOG="y"
# Enables/disables actual mail delivery. When this option is enabled mails are
# not send out but logged to log/mail.log, where they can be inspected for
# debugging purposes. Please note that DEBUG must be switched *off*, for
# this option to take effect.
MAIL_TEST="y"
# -----------------------------------------------------------
# Security
# -----------------------------------------------------------
# A very long (at least 40 chars) base64 encoded stream of random chars.
SECRET_BASE="omPUGA8/rcud988INQ8SSNj4F0Rc0zsWQTcBIf3NUkRf5hNfdM1X8AwJ1YJaBcz/6oZvnS81Qr877eAD"
# -----------------------------------------------------------
# Database
# -----------------------------------------------------------
DB_HOST="localhost"
DB_DATABASE="bseries_site"
DB_USER="bseries_site"
DB_PASSWORD=""
# -----------------------------------------------------------
# Globalization
# -----------------------------------------------------------
# The default effective locale, country, currency and timezone. Will also be
# used for normalization. TZ is default user TZ, not to be confused with the
# internal TZ, that is always UTC.
LOCALE="en"
COUNTRY="DE"
CURRENCY="EUR"
TIMEZONE="Europe/Berlin"
# Available locales, countries, currencies and timezones.
# Separate multiple entries by space.
LOCALES="en"
COUNTRIES="US DE"
CURRENCIES="EUR"
TIMEZONES="Europe/Berlin UTC"
# -----------------------------------------------------------
# Caching
# -----------------------------------------------------------
# Enables/disables support for memcached (https://memcached.org). When disabled
# will cache using files in tmp/cache.
HAS_MEMCACHED="y"
# Controls whether Full Page Caching should be enabled or not. FPC works
# only for fully static pages. This caching method is highly performant and
# optionally in conjunction with NGINX cache checking helps to deal with a great
# amount of traffic. With FPC enabled the entire response for an URL is stored
# in cache.
FPC="n"
# -----------------------------------------------------------
# Tracking
# -----------------------------------------------------------
# Allows to toggle Google Analytics globally. GA should only ever be enabled
# in production environments. We only want to track real visitors.
GA="n"
# Google Analytics account number, as retrieved from the GA web interface.
GA_ACCOUNT="__GA_ACCOUNT__"
# Whether to honor if visitor has DNT enabled. If "y" will not include i.e. GA
# tracking code even if that is enabled. Defaults to "n" as DNT was introduced
# later in time and we don't want existing projects to have their visitor
# numbers decreased. However: it is strongly suggested to enable this setting
# for new projects.
HONOR_DNT="y"
# -----------------------------------------------------------
# Assets & Media
# -----------------------------------------------------------
# Whether media versions, transfers and assets are nested under
# the webroot instead of the project root.
WEBROOT_NESTING="n"
ASSETS_HTTP_BASE="bseries-site.test/assets"
ASSETS_HTTPS_BASE="bseries-site.test/assets"
HAS_IMAGICK="y"
HAS_GHOSTSCRIPT="y"
HAS_FFMPEG="y"
HAS_SOX="y"
MEDIA_VERSIONS_HTTP_BASE="bseries-site.test/media"
MEDIA_VERSIONS_HTTPS_BASE="bseries-site.test/media"
# -----------------------------------------------------------
# Jobs
# -----------------------------------------------------------
# Whether asynchrounous processing of media uploads should be enabled. Will
# need a running beanstalkd message queue and workers (see Hoifile) to do
# it's job. This option comes with some additional operational overhead but
# enables processing of large video and audio files without relying on external
# services.
ASYNC_PROCESSING="n"
# Controls scheduled (repeated) jobs. Can be either "n", "cron" or "http". When set to
# "cron", cronjobs must alsow be enabled in the Hoifile. The "http" setting should only
# be used if we cannot run programs on the command line. It gives us one endpoint per
# frequency ("high", "medium" and "low") that can be invoked by an external tool. To
# access these endpoints you must also configure a technical user with a unique auth
# token: "/admin/api/base-core/jobs/run/<FREQ>?auth_token=<TOKEN>"
SCHEDULED_JOBS="n"
# -----------------------------------------------------------
# Mail
# -----------------------------------------------------------
# Whether to enable mail out via an external service. Currently only Mailgun
# (https://www.mailgun.com) is supported.
MAIL="n"
# Credentials
MAIL_KEY="__MAIL_KEY__"
# The domain configured for the mailing service. When using mailgun
# and a "mg" subdomain, this must include the subdomain as well.
MAIL_DOMAIN="mg.bseries-site.test"
# The default from address. With a mailgun subdomain this may
# not include the subdomain.
MAIL_FROM="[email protected]"
# Separate multiple types by space (i.e. "text html").
MAIL_TYPES="text"
# -----------------------------------------------------------
# Compatibility
# -----------------------------------------------------------
# Supported browsers, separate multiple constraints with a pipe symbol.
# https://github.com/browserslist/browserslist#queries
TARGET_BROWSERS="last 2 Chrome versions|last 2 Firefox versions|last 2 Safari versions|last 2 Edge versions|last 2 ChromeAndroid versions|last 2 iOS versions"