From 26eb7999a40dd987b81c93c61acdea23bc8672f0 Mon Sep 17 00:00:00 2001 From: David Jennes Date: Mon, 8 Apr 2024 21:20:27 +0200 Subject: [PATCH] Matomo: also move to port 8080 --- matomo/Dockerfile | 2 +- matomo/README.md | 24 ++++++++++++++---------- matomo/config/nginx/http.d/default.conf | 4 ++-- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/matomo/Dockerfile b/matomo/Dockerfile index d8399b7..0261c4f 100644 --- a/matomo/Dockerfile +++ b/matomo/Dockerfile @@ -19,7 +19,7 @@ COPY matomo/scripts/ / # Clean Up WORKDIR /var/www/html -EXPOSE 80 +EXPOSE 8080 # Start supervisord by default ENTRYPOINT ["/docker-entrypoint.sh"] diff --git a/matomo/README.md b/matomo/README.md index 07efee0..f58e3f8 100644 --- a/matomo/README.md +++ b/matomo/README.md @@ -14,16 +14,7 @@ Docker will default to the `serve` command. - `init`: initialize the project, such as executing migrations. - fallback: execute the provided command. -# Initialization - -Using an init container (that invokes `init` command above), the container will be prepared for use. This entails: - -- Running through the Matomo onboarding wizard. -- Installing some plugins. -- Tweaking some base Matomo options. -- Applying the environment variables to the Matomo config. - -# Configuration +## Configuration This image can be configured using the following environment variables: @@ -46,3 +37,16 @@ This image can be configured using the following environment variables: | MATOMO_DATABASE_NAME | Every run | Database name | | MATOMO_DATABASE_USER | Every run | Database user | | MATOMO_DATABASE_PASSWORD | Every run | Database password | + +## Info + +Serves content on port `8080`. + +# Initialization + +Using an init container (that invokes `init` command above), the container will be prepared for use. This entails: + +- Running through the Matomo onboarding wizard. +- Installing some plugins. +- Tweaking some base Matomo options. +- Applying the environment variables to the Matomo config. diff --git a/matomo/config/nginx/http.d/default.conf b/matomo/config/nginx/http.d/default.conf index 3aa097d..4cf5ba4 100644 --- a/matomo/config/nginx/http.d/default.conf +++ b/matomo/config/nginx/http.d/default.conf @@ -1,6 +1,6 @@ server { - listen 80 default_server; - listen [::]:80 default_server; + listen 8080 default_server; + listen [::]:8080 default_server; server_name _; # Redirect root folder