Skip to content

Commit

Permalink
Remove matomo from other dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored Jun 3, 2024
1 parent 224ba15 commit 9a62cd6
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 33 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ up: bake | docker-compose
"ActiveMQ|https://activemq.islandora.dev" \
"Blazegraph|https://blazegraph.islandora.dev/bigdata/" \
"Fedora|https://fcrepo.islandora.dev/fcrepo/rest/" \
"Matomo|https://islandora.dev/matomo/index.php" \
"Cantaloupe|https://islandora.dev/cantaloupe" \
"Solr|https://solr.islandora.dev" \
"Traefik|https://traefik.islandora.dev" \
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ Waiting for installation...
ActiveMQ https://activemq.islandora.dev
Blazegraph https://blazegraph.islandora.dev/bigdata/
Fedora https://fcrepo.islandora.dev/fcrepo/rest/
Matomo https://islandora.dev/matomo/index.php
Solr https://solr.islandora.dev
Traefik https://traefik.islandora.dev
```
Expand Down
26 changes: 0 additions & 26 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ volumes:
drupal-solr-config: {}
fcrepo-data: {}
mariadb-data: {}
matomo-data: {}
solr-data: {}

secrets:
Expand Down Expand Up @@ -129,8 +128,6 @@ services:
DRUPAL_DEFAULT_FCREPO_PORT: 8080
DRUPAL_DEFAULT_FCREPO_URL: "https://fcrepo.islandora.dev/fcrepo/rest/"
DRUPAL_DEFAULT_INSTALL_EXISTING_CONFIG: "true"
DRUPAL_DEFAULT_MATOMO_URL_HTTP: "http://islandora.dev/matomo/"
DRUPAL_DEFAULT_MATOMO_URL_HTTPS: "https://islandora.dev/matomo/"
DRUPAL_DEFAULT_NAME: "Islandora Digital Collections"
DRUPAL_DEFAULT_PROFILE: "minimal"
DRUPAL_DEFAULT_SITE_URL: "islandora.dev"
Expand Down Expand Up @@ -254,29 +251,6 @@ services:
traefik.http.services.fcrepo.loadbalancer.server.port: 8080
volumes:
- fcrepo-data:/data:rw
matomo:
<<: *common
image: ${REPOSITORY:-local}/matomo:${TAG:-latest}
labels:
<<: *traefik-https-redirect-middleware
traefik.http.middlewares.matomo-custom-request-headers.headers.customrequestheaders.X-Forwarded-Uri: /matomo
traefik.http.middlewares.matomo-append-slash.redirectregex.regex: ^(https?://[^/]+/matomo)$$
traefik.http.middlewares.matomo-append-slash.redirectregex.replacement: $${1}/
traefik.http.middlewares.matomo-strip-prefix.stripprefix.prefixes: /matomo
traefik.http.middlewares.matomo.chain.middlewares: matomo-append-slash,matomo-strip-prefix,matomo-custom-request-headers
traefik.http.routers.matomo_http.entrypoints: http
traefik.http.routers.matomo_http.middlewares: *traefik-https-redirect
traefik.http.routers.matomo_http.rule: &traefik-host-matomo Host(`islandora.dev`) && PathPrefix(`/matomo`)
traefik.http.routers.matomo_http.service: matomo
traefik.http.routers.matomo_https.entrypoints: https
traefik.http.routers.matomo_https.middlewares: matomo
traefik.http.routers.matomo_https.rule: *traefik-host-matomo
traefik.http.routers.matomo_https.tls: true
traefik.http.services.matomo.loadbalancer.server.port: 80
environment:
MATOMO_DEFAULT_HOST: "https://islandora.dev"
volumes:
- matomo-data:/var/www/matomo:rw
solr:
<<: *common
image: ${REPOSITORY:-local}/solr:${TAG:-latest}
Expand Down
2 changes: 0 additions & 2 deletions drupal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ ENV \
DRUPAL_DEFAULT_INSTALL_EXISTING_CONFIG=false \
DRUPAL_DEFAULT_INSTALL=true \
DRUPAL_DEFAULT_LOCALE=en \
DRUPAL_DEFAULT_MATOMO_URL_HTTP=http://islandora.traefik.me/matomo/ \
DRUPAL_DEFAULT_MATOMO_URL_HTTPS=https://islandora.traefik.me/matomo/ \
DRUPAL_DEFAULT_NAME=Default \
DRUPAL_DEFAULT_PROFILE=standard \
DRUPAL_DEFAULT_SALT=9PPaL0CxZAIcq0l9wxgDGlCZrp7JdT_x7v9gVzpdbUjMt1PqDz3uD0Zy-i16DuJ1-Htuq5hqeg \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version: "3.8"
x-common: &common
restart: "no"

name: matomo-servicestartswithdefaults
name: milliner-servicestartswithdefaults
services:
milliner:
<<: *common
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ $config['islandora.settings']['broker_url'] = file_get_contents($path . 'DRUPAL_
$config['islandora.settings']['broker_user'] = file_exists($path . 'DRUPAL_DEFAULT_BROKER_USER') ? file_get_contents($path . 'DRUPAL_DEFAULT_BROKER_USER') : NULL;
$config['islandora.settings']['broker_password'] = file_exists($path . 'DRUPAL_DEFAULT_BROKER_PASSWORD') ? file_get_contents($path . 'DRUPAL_DEFAULT_BROKER_PASSWORD') : NULL;
$config['islandora_iiif.settings']['iiif_server'] = file_get_contents($path . 'DRUPAL_DEFAULT_CANTALOUPE_URL');
$config['matomo.settings']['url_http'] = file_get_contents($path . 'DRUPAL_DEFAULT_MATOMO_URL');
$config['matomo.settings']['url_https'] = file_get_contents($path . 'DRUPAL_DEFAULT_MATOMO_URL');
$config['openseadragon.settings']['iiif_server'] = file_get_contents($path . 'DRUPAL_DEFAULT_CANTALOUPE_URL');
$config['search_api.server.default_solr_server']['backend_config']['connector_config']['host'] = file_get_contents($path . 'DRUPAL_DEFAULT_SOLR_HOST');
$config['search_api.server.default_solr_server']['backend_config']['connector_config']['port'] = file_get_contents($path . 'DRUPAL_DEFAULT_SOLR_PORT');
Expand Down

0 comments on commit 9a62cd6

Please sign in to comment.