forked from remp2020/remp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
125 lines (84 loc) · 3.95 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
#####################
## Laravel framework and application 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 job queueing. See config/queue.php for all available drivers.
QUEUE_DRIVER=redis
# Default driver for logging. See config/log.php for all available drivers.
LOG_CHANNEL=stack
# URL to be used when searching for position of inline banner on the target web. Target URL should have REMP JS tracking
# code inserted. Usually it points to the main page of your newspaper.
# If configured properly, inline banner selector will display your homepage with available banner positions (all elements
# with CSS class "remp-banner") highlighted so you can select and use them to display the banner in.
CLIENT_SITE_URL=
#####################
## 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=campaign
# 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 client to be used. Available values are:
# - predis: default value, used if nothing is set
# - mock: fake implementation for tests
# It's recommended to set this variable only for testing scenarios.
# REDIS_CLIENT=
# 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
# URL where user is redirected if SSO login fails
REMP_SSO_ERROR_URL=http://campaign.remp.press/error
#####################
## REMP services
## Following are addresses of other installed REMP services. Keep blank to indicate that the service is not used.
# REMP_BEAM_ADDR=http://beam.remp.press
# REMP_MAILER_ADDR=http://mailer.remp.press
# REMP_TRACKER_ADDR=http://beam_tracker:8081/
# REMP_PYTHIA_SEGMENTS_ADDR=http://segments.pythia.remp.press
# Segments and Journal API URL address (providing Beam segments and campaign stats)
# REMP_SEGMENTS_ADDR=http://beam_segments:8082/
# API token to authenticate against other REMP services using default SSO configuration.
# The default configuration of REMP tools always uses API token generated in SSO, you can grab your token there.
REMP_SSO_API_TOKEN=
#####################
## 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=
#####################
## Maxmind GeoIP
# Path to .mmdb file containing binary maxmind database. You don't need to change this unless you have paid database
# and you want to use it instead of free version provided withing the repository.
MAXMIND_DATABASE=resources/assets/maxmind/GeoLite2-Country.mmdb