mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-22 21:02:24 +03:00
Update to installer with support for matomo
This commit is contained in:
parent
7501eca71e
commit
0edb3e5c2c
5 changed files with 8 additions and 4 deletions
|
@ -50,7 +50,7 @@
|
||||||
"shlinkio/shlink-config": "dev-main#cde5d3b as 2.5",
|
"shlinkio/shlink-config": "dev-main#cde5d3b as 2.5",
|
||||||
"shlinkio/shlink-event-dispatcher": "dev-main#faf2582 as 3.1",
|
"shlinkio/shlink-event-dispatcher": "dev-main#faf2582 as 3.1",
|
||||||
"shlinkio/shlink-importer": "dev-main#d621b20 as 5.2",
|
"shlinkio/shlink-importer": "dev-main#d621b20 as 5.2",
|
||||||
"shlinkio/shlink-installer": "dev-develop#c1ef08c as 8.6",
|
"shlinkio/shlink-installer": "dev-develop#c505a19 as 8.6",
|
||||||
"shlinkio/shlink-ip-geolocation": "dev-main#4a1cef8 as 3.3",
|
"shlinkio/shlink-ip-geolocation": "dev-main#4a1cef8 as 3.3",
|
||||||
"shlinkio/shlink-json": "dev-main#e5a111c as 1.1",
|
"shlinkio/shlink-json": "dev-main#e5a111c as 1.1",
|
||||||
"spiral/roadrunner": "^2023.2",
|
"spiral/roadrunner": "^2023.2",
|
||||||
|
|
|
@ -66,6 +66,10 @@ return [
|
||||||
Option\RabbitMq\RabbitMqUserConfigOption::class,
|
Option\RabbitMq\RabbitMqUserConfigOption::class,
|
||||||
Option\RabbitMq\RabbitMqPasswordConfigOption::class,
|
Option\RabbitMq\RabbitMqPasswordConfigOption::class,
|
||||||
Option\RabbitMq\RabbitMqVhostConfigOption::class,
|
Option\RabbitMq\RabbitMqVhostConfigOption::class,
|
||||||
|
Option\Matomo\MatomoEnabledConfigOption::class,
|
||||||
|
Option\Matomo\MatomoBaseUrlConfigOption::class,
|
||||||
|
Option\Matomo\MatomoSiteIdConfigOption::class,
|
||||||
|
Option\Matomo\MatomoApiTokenConfigOption::class,
|
||||||
],
|
],
|
||||||
|
|
||||||
'installation_commands' => [
|
'installation_commands' => [
|
||||||
|
|
|
@ -10,7 +10,7 @@ return [
|
||||||
'enabled' => (bool) EnvVars::MATOMO_ENABLED->loadFromEnv(false),
|
'enabled' => (bool) EnvVars::MATOMO_ENABLED->loadFromEnv(false),
|
||||||
'base_url' => EnvVars::MATOMO_BASE_URL->loadFromEnv(),
|
'base_url' => EnvVars::MATOMO_BASE_URL->loadFromEnv(),
|
||||||
'site_id' => EnvVars::MATOMO_SITE_ID->loadFromEnv(),
|
'site_id' => EnvVars::MATOMO_SITE_ID->loadFromEnv(),
|
||||||
'token' => EnvVars::MATOMO_TOKEN->loadFromEnv(),
|
'token' => EnvVars::MATOMO_API_TOKEN->loadFromEnv(),
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
@ -211,7 +211,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "8003:80"
|
- "8003:80"
|
||||||
volumes:
|
volumes:
|
||||||
# Matomo does not persist port in trusted hosts. This is needed to edit config afterwards
|
# Matomo does not persist port in trusted hosts. This is needed to edit config afterward
|
||||||
# https://github.com/matomo-org/matomo/issues/9549
|
# https://github.com/matomo-org/matomo/issues/9549
|
||||||
- ./data/infra/matomo:/var/www/html
|
- ./data/infra/matomo:/var/www/html
|
||||||
links:
|
links:
|
||||||
|
|
|
@ -35,7 +35,7 @@ enum EnvVars: string
|
||||||
case MATOMO_ENABLED = 'MATOMO_ENABLED';
|
case MATOMO_ENABLED = 'MATOMO_ENABLED';
|
||||||
case MATOMO_BASE_URL = 'MATOMO_BASE_URL';
|
case MATOMO_BASE_URL = 'MATOMO_BASE_URL';
|
||||||
case MATOMO_SITE_ID = 'MATOMO_SITE_ID';
|
case MATOMO_SITE_ID = 'MATOMO_SITE_ID';
|
||||||
case MATOMO_TOKEN = 'MATOMO_TOKEN';
|
case MATOMO_API_TOKEN = 'MATOMO_API_TOKEN';
|
||||||
case DEFAULT_QR_CODE_SIZE = 'DEFAULT_QR_CODE_SIZE';
|
case DEFAULT_QR_CODE_SIZE = 'DEFAULT_QR_CODE_SIZE';
|
||||||
case DEFAULT_QR_CODE_MARGIN = 'DEFAULT_QR_CODE_MARGIN';
|
case DEFAULT_QR_CODE_MARGIN = 'DEFAULT_QR_CODE_MARGIN';
|
||||||
case DEFAULT_QR_CODE_FORMAT = 'DEFAULT_QR_CODE_FORMAT';
|
case DEFAULT_QR_CODE_FORMAT = 'DEFAULT_QR_CODE_FORMAT';
|
||||||
|
|
Loading…
Reference in a new issue