From fc70fcb6d7c6dbb9a070f19b54377384f0038368 Mon Sep 17 00:00:00 2001 From: milanmajchrak <90026355+milanmajchrak@users.noreply.github.com> Date: Tue, 3 Dec 2024 10:14:28 +0100 Subject: [PATCH] Added volume into docker-compose (#754) --- docker/docker-compose.yml | 1 + docker/matomo-settings.ts | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 docker/matomo-settings.ts diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index c6cc475a30c..68e48ba1775 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -29,6 +29,7 @@ services: - ./config.prod.yml:/app/config/config.prod.yml # - ./aai.js:/app/dist/browser/aai.js # - ./dspace-ui.json:/app/docker/dspace-ui.json:rw + - ./matomo-settings.ts:/src/matomo/matomo-settings.ts build: context: .. dockerfile: Dockerfile diff --git a/docker/matomo-settings.ts b/docker/matomo-settings.ts new file mode 100644 index 00000000000..e0217cfb66b --- /dev/null +++ b/docker/matomo-settings.ts @@ -0,0 +1,7 @@ +/** + * Matomo settings for tracking statistics. This file could be mounted in the docker container. + */ +export const matomoSettings = { + hostUrl: 'http://localhost:8135/', + siteId: '1' +};