Skip to content

Commit

Permalink
Matomo: also move to port 8080
Browse files Browse the repository at this point in the history
  • Loading branch information
djbe committed Apr 8, 2024
1 parent aa4eb63 commit 26eb799
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion matomo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
24 changes: 14 additions & 10 deletions matomo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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.
4 changes: 2 additions & 2 deletions matomo/config/nginx/http.d/default.conf
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 26eb799

Please sign in to comment.