Configure MATOMO from the environment
We try to be a 12factor app right? :-)
This commit is contained in:
parent
f2ad141e32
commit
d61b4253df
3 changed files with 22 additions and 18 deletions
|
|
@ -9,25 +9,22 @@
|
|||
# id_site
|
||||
# The id of your website inside Piwik
|
||||
#
|
||||
|
||||
default: &default
|
||||
id_site: <%= ENV['OSEM_PIWIK_ID'] %>
|
||||
url: <%= ENV['OSEM_PIWIK_URL'] %>
|
||||
use_async: <%= ENV['OSEM_PIWIK_ASYNC'] || false %>
|
||||
disabled: <%= ENV['OSEM_PIWIK_DISABLED'] || true %>
|
||||
hostname: <%= ENV['OSEM_PIWIK_HOSTNAME'] || 'localhost' %>
|
||||
|
||||
production:
|
||||
piwik:
|
||||
id_site: 1
|
||||
url: localhost
|
||||
use_async: false
|
||||
disabled: false
|
||||
<<: *default
|
||||
|
||||
development:
|
||||
piwik:
|
||||
id_site: 1
|
||||
url: localhost
|
||||
disabled: true
|
||||
use_async: false
|
||||
hostname: localhost
|
||||
<<: *default
|
||||
|
||||
test:
|
||||
piwik:
|
||||
id_site: 1
|
||||
url: localhost
|
||||
disabled: true
|
||||
use_async: false
|
||||
hostname: localhost
|
||||
<<: *default
|
||||
Loading…
Add table
Add a link
Reference in a new issue