-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
219 lines (158 loc) · 7.47 KB
/
.env.example
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
#####################
## Laravel framework variables
# Laravel's environment variable.
APP_ENV=local
# Application key used to encrypt session. No need to edit, it's generated by php artisan key:generate command
APP_KEY=
# Flag whether the debug options should be enabled or not
APP_DEBUG=true
# URL of where the application is running
APP_URL=
# Whether to force HTTPS in generated URLs no matter the request protocol.
# Useful if your request is handled behind load balancer on HTTP, but your
# application is running on HTTPS outside your infrastructure.
FORCE_HTTPS=false
# Optionally specify (comma-separated) list of trusted proxies. By default all IPs are trusted.
# More details in Laravel documentation: https://laravel.com/docs/master/requests#configuring-trusted-proxies
#APP_TRUSTED_PROXIES=*
# Expiration time in seconds for session (indicates minutes since the last activity)
APP_SESSION_EXPIRATION=120
# Application locale affecting formatting settings of viewed data.
APP_LOCALE=en
# Comma-separated origins (e.g. http://beam.remp.press) for allowed preflight requests, defaults to "*".
APP_CORS_ALLOWED_ORIGINS=
# Default driver for storing cache data. See config/cache.php for all available drivers.
CACHE_DRIVER=redis
# Default driver for logging. See config/log.php for all available drivers.
LOG_CHANNEL=stack
#####################
## SQL database connection details. MySQL (and derivates) are supported and tested.
# Connection adapter to be used for communicating with database. See config/database.php for all available connections.
# Only MySQL is tested and supported by remp2020 developers.
DB_CONNECTION=mysql
# Database host (e.g. localhost, IP address or any resolvable host of your database server instance).
DB_HOST=mysql
# Name of the database.
DB_DATABASE=beam
# User to be used to connect to database.
DB_USERNAME=root
# Password to be used to connect to database.
DB_PASSWORD=secret
# Port to be used to connect to database. 3306 is the default port used by MySQL and its derivates.
DB_PORT=3306
#####################
## Redis connection details
# Redis host (e.g. localhost, IP address or any resolvable host of your database server instance).
REDIS_HOST=redis
# Redis connection password (uncomment if used)
#REDIS_PASSWORD=
# Redis connection port. 6379 is the default port used by Redis installation.
REDIS_PORT=6379
# Alternative Redis connection configuration.
# The accepted format of a single connection is
#
# proto://host:ip
#
# If Redis Sentinel is used, this variable serves as an comma-separated input
# for all available sentinel servers. In that case, the example configuration is:
#
# tcp://redis-sentinel-a:26379,tcp://redis-sentinel-b:26379,tcp://redis-sentinel-c:26379
#
#REDIS_URL=
# Name of the Redis Sentinel service if Sentinel cluster is used. If provided, sentinel connections are configured
# from the REDIS_URL environment variable.
#REDIS_SENTINEL_SERVICE=
# Redis default database used for application read/writes. Defaults to 0.
#REDIS_DEFAULT_DATABASE=
# Redis session database used for storing Laravel sessions if SESSION_DRIVER is "redis". Defaults to 1.
#REDIS_SESSION_DATABASE=
# Redis cache database used for Laravel cache layer if CACHE_DRIVER is "redis". Defaults to 2.
#REDIS_CACHE_DATABASE=
# Redis queue database used for Laravel queue system if QUEUE_CONNECTION is "redis". Defaults to 3.
#REDIS_QUEUE_DATABASE=
#####################
## SSO configuration
# Full address of SSO instance
REMP_SSO_ADDR=http://sso.remp.press:9494
REMP_SSO_API_TOKEN=
# URL where user is redirected if SSO login fails
REMP_SSO_ERROR_URL=http://beam.remp.press:9494/error
#####################
## App configuration
# Memory limits for each command (run via scheduler) in case you want to raise default limit.
# The expected format is comma-delimited list of command::limit
#
# conversions:aggregate-events::512M,segments:compute-author-segments::128M
#
#COMMANDS_MEMORY_LIMITS=
# Controls command overlaping expiration in minutes (default: 15)
#COMMANDS_OVERLAPPING_EXPIRES_AT=
# Controls size of time window "steps" in pageviews:aggregate-article-views command (in minutes).
#AGGREGATE_ARTICLE_VIEWS_DEFAULT_STEP=
#####################
## REMP services
## Mandatory micro-services complementing Beam admin
# URL to Segments API endpoint
REMP_SEGMENTS_ADDR=http://segments.remp.press:9494/
# Authorization token (if configured on the segments API vhost)
REMP_SEGMENTS_AUTH_TOKEN=
# URL to Tracker API endpoint
REMP_TRACKER_ADDR=http://tracker.remp.press:9494/
## Following are addresses of other installed REMP services. Keep blank to indicate that the service is not used.
# REMP_CAMPAIGN_ADDR=http://campaign.remp.press
# REMP_MAILER_ADDR=http://mailer.remp.press
# API token to access Mailer. The default configuration of REMP tools always uses API token generated in SSO, you can
# grab your token there.
REMP_MAILER_API_TOKEN=
# Segmenter settings (beta)
# Leave AUTH_TOKEN empty if not needed, otherwise use with 'Basic' / 'Bearer' prefix.
#REMP_SEGMENTER_API_ADDR=http://segments.beam.remp.press/
#REMP_SEGMENTER_AUTH_TOKEN=
#####################
## Public dashboard settings
## Beam allows access to the /public URL without need to be authenticated via SSO. Instead of that, HTTP Auth
## is provided which can be shared among users. You can configure the HTTP authentication credentials here.
DASHBOARD_USERNAME=
DASHBOARD_PASSWORD=
DASHBOARD_USERNAME2=
DASHBOARD_PASSWORD2=
###################
## Pageviews data shown in graphs can be loaded either from Journal API snapshots or by directly querying Journal API
## Valid options: "snapshots" or "journal" (default)
# PAGEVIEW_GRAPH_DATA_SOURCE=
## Data shown in article traffic graph on article detail page can be loaded from Journal API snapshots,
## directly from Journal API or aggregated article pageviews.
## Valid options: "snapshots", "journal" or "pageviews" (default)
# ARTICLE_TRAFFIC_GRAPH_DATA_SOURCE=
## Flag whether the longer intervals of article traffic graph can be showed
# Valid options: true(default)/false
# ARTICLE_TRAFFIC_GRAPH_SHOW_INTERVAL_7D=
# ARTICLE_TRAFFIC_GRAPH_SHOW_INTERVAL_30D=
#####################
## Airbrake / Errbit
# Flag indicating whether the error tracking should be enabled
AIRBRAKE_ENABLED=false
# API host provided by Airbrake / Errbit
AIRBRAKE_API_HOST=
# API key provided by Airbrake / Errbit
AIRBRAKE_API_KEY=
#####################
## Sentry
# DSN which can be found in the Sentry project settings. Keep unset or empty if you don't want to track anything.
SENTRY_DSN=
#####################
## Google reporting API integration
## Beam provides way to integrate with Google reporting API which would allow you to display Google Analytics data
## directly in Beam. You can implement your own view of data by implementing GoogleAnalyticsReportingContract and
## you can check the reference implementation in app/Contracts/GoogleAnalytics/GoogleAnalyticsReporting.php
# Flag indicating whether the reporting should be enabled or not (affects main menu and instantiation of
# reporting-related classes.
GOOGLE_GA_REPORTING_ENABLED=false
# Application name to be used (configured in Google Developer Console)
GOOGLE_APP_NAME="DEV BEAM GA Reporting"
# Absolute path to service account JSON used to authenticate against Application name provided above.
GOOGLE_SERVICE_ACCOUNT_FILE=/var/www/html/Beam/google_service_account_key.json
# Google analytics view ID (taken from GA structure of Accounts - Properties & Apps - Views)
GOOGLE_GA_VIEW_ID=
# Temporarily disable property token filtering for debugging
DISABLE_TOKEN_FILTERING=