forked from remp2020/remp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
143 lines (100 loc) · 4.66 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
#####################
## 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=
# Expiration time in seconds for session (indicates seconds since the last activity)
APP_SESSION_EXPIRATION=120
# Application locale affecting formatting settings of viewed data.
APP_LOCALE=en
# 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
#####################
## SSO configuration
# Full address of SSO instance
REMP_SSO_ADDR=http://sso.remp.press
REMP_SSO_API_TOKEN=
# URL where user is redirected if SSO login fails
REMP_SSO_ERROR_URL=http://beam.remp.press/error
#####################
## REMP services
## Mandatory micro-services complementing Beam admin
# URL to Segments API endpoint
REMP_SEGMENTS_ADDR=http://segments.beam.remp.press/
# Authorization token (if configured on the segments API vhost)
REMP_SEGMENTS_AUTH_TOKEN=
# URL to Tracker API endpoint
REMP_TRACKER_ADDR=http://tracker.beam.remp.press/
## 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=
# Dashboard supports filtering the data only for pageviews coming from the front page. Beam needs to know
# what's the referer of such pageview. Usually it's enough to enter the URL of your homepage (e.g. https://dennikn.sk).
DASHBOARD_FRONTPAGE_REFERER=
#####################
## 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=
#####################
## 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=